dbTalk Databases Forums  

clairvoyant filter

comp.databases.filemaker comp.databases.filemaker


Discuss clairvoyant filter in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris Brown
 
Posts: n/a

Default clairvoyant filter - 11-03-2005 , 06:02 PM






Hi All,

I use the global pair and multi criteria rel method for dynamic filtered
portal results

g_text
c_textz = g_text & "z"

have the name Menzel in a Supplier db, and typing 'men' returns no
result, wheras 'me' does. While this is no real problem knowing the
limitation; it is a limitation however, and could be more so in some
user situations. Have tried a few variations on the theme, without
success. Any trick for this?

regards

Chris Brown
University of Adelaide

Reply With Quote
  #2  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: clairvoyant filter - 11-03-2005 , 11:00 PM






Chris Brown wrote:
Quote:
I use the global pair and multi criteria rel method for dynamic filtered
portal results

g_text
c_textz = g_text & "z"

have the name Menzel in a Supplier db, and typing 'men' returns no
result, wheras 'me' does. While this is no real problem knowing the
limitation; it is a limitation however, and could be more so in some
user situations. Have tried a few variations on the theme, without
success. Any trick for this?

Not completely clear on this. Are you saying that the related results
must be >= g_text and <= c_textz ?

'Menzel' is definitely between 'me' and 'mez'.
And 'Menzel' is greater than 'me' but it is also greater then 'menz'.

Try changing your 'z' to 'zzzz'

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California

FileMaker 7 Certified Developer
Associate Member, FileMaker Solutions Alliance


Reply With Quote
  #3  
Old   
42
 
Posts: n/a

Default Re: clairvoyant filter - 11-04-2005 , 12:28 AM



In article <11mlqnj89ir2174 (AT) corp (DOT) supernews.com>,
howard (AT) antispahm (DOT) fmprosolutions.com says...
Quote:
Chris Brown wrote:
I use the global pair and multi criteria rel method for dynamic filtered
portal results

g_text
c_textz = g_text & "z"

have the name Menzel in a Supplier db, and typing 'men' returns no
result, wheras 'me' does. While this is no real problem knowing the
limitation; it is a limitation however, and could be more so in some
user situations. Have tried a few variations on the theme, without
success. Any trick for this?


Not completely clear on this. Are you saying that the related results
must be >= g_text and <= c_textz ?

'Menzel' is definitely between 'me' and 'mez'.
And 'Menzel' is greater than 'me' but it is also greater then 'menz'.

Try changing your 'z' to 'zzzz'
Yep that should fix it. (Although it will break on the much more
unlikely supplier 'menzzzzel'

To fix it "properly" would require "rolling the character over"...e.g.
you type in me, and instead of searching:

me <= x <= mez

you'd search:

me <= x < mf (note that its strictly "less than" now)

rolling the final character 'e' into an 'f'. Unfortunately this is
difficult in filemaker because FM lacks good 'character' manipulation
functions. You'd have to build the substitution yourself.

Furthermore, you have to deal with "menz"... how do you roll it over?
The answer: to "meo", which is also a pain to do in filemaker. And it
would have to be recursive because "mezz" would need to rollover to
"mf", "mzzz" would roll over to "n", etc.

FWIW tacking on half a dozen extra z's is much easier and not likely to
cause you greif in the real world (and its probably what I'd even
recommend). But if you want to really "fix" it; see above


Reply With Quote
  #4  
Old   
Chris Brown
 
Posts: n/a

Default Re: clairvoyant filter - 11-08-2005 , 07:24 PM



Howard Schlossberg wrote:
Quote:
Chris Brown wrote:

I use the global pair and multi criteria rel method for dynamic
filtered portal results

g_text
c_textz = g_text & "z"

have the name Menzel in a Supplier db, and typing 'men' returns no
result, wheras 'me' does. While this is no real problem knowing the
limitation; it is a limitation however, and could be more so in some
user situations. Have tried a few variations on the theme, without
success. Any trick for this?



Not completely clear on this. Are you saying that the related results
must be >= g_text and <= c_textz ?

'Menzel' is definitely between 'me' and 'mez'.
And 'Menzel' is greater than 'me' but it is also greater then 'menz'.

Try changing your 'z' to 'zzzz'

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California

FileMaker 7 Certified Developer
Associate Member, FileMaker Solutions Alliance
should have been clearer;

text global and calc
g_Text
c_textz = g_text & "z'

multi criteria rel:
g_text <= name
c_textz >= name

changing to c_textzzzz = g_text & "zzzz" fixed it. Thanks Howard.

regards

Chris








Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.