dbTalk Databases Forums  

Searching for: 1" Panel

comp.databases.filemaker comp.databases.filemaker


Discuss Searching for: 1" Panel in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul Bruneau
 
Posts: n/a

Default Searching for: 1" Panel - 06-19-2007 , 07:27 AM






OK, here is the next in my beloved series "Stuff that is now stupid in
FM8 that wasn't stupid in FM6"

I have some data that might be any of:

1 3/4" Panel
1" Panel
1/4" Panel

If my users try to do a find with any of that text, zero records are
found.

if I search for : 1 3/4
then it will return those records (which is fine)

if I search for : Panel
it will return all of the records with that word (which is fine)

But what about the quote character is fouling things up? It goes
without saying...it all worked fine in FM6.

Thanks anyone!


Reply With Quote
  #2  
Old   
Ursus
 
Posts: n/a

Default Re: Searching for: 1" Panel - 06-19-2007 , 09:49 AM







"Paul Bruneau" <paul (AT) ethicalpaul (DOT) com> schreef in bericht
news:1182256031.738052.91080 (AT) n60g2000hse (DOT) googlegroups.com...
Quote:
OK, here is the next in my beloved series "Stuff that is now stupid in
FM8 that wasn't stupid in FM6"

I have some data that might be any of:

1 3/4" Panel
1" Panel
1/4" Panel

If my users try to do a find with any of that text, zero records are
found.

if I search for : 1 3/4
then it will return those records (which is fine)

if I search for : Panel
it will return all of the records with that word (which is fine)

But what about the quote character is fouling things up? It goes
without saying...it all worked fine in FM6.

Thanks anyone!

Yes. There are some changes. The " now is to be expected as the starting of
a string. When using a single " it has to be escaped, likewise as in a unix
setting. The escape character is the \

for finding the complete text the user has to enter
1 3/4\" Panel

The same goed for calcs. When using a quote in previous version you could
either use a global field holding the ". Or use """" to represent a quote.
With the new versions you must use \"
So if a calculation exactly has to read:
John says: "Hallo world".
you have to enter the following in the calc
"John says: \"Hallo World\"."

Takes some getting used to....

Keep well, Ursus




Reply With Quote
  #3  
Old   
Paul Bruneau
 
Posts: n/a

Default Re: Searching for: 1" Panel - 06-19-2007 , 11:28 AM



Quote:
Yes. There are some changes. The " now is to be expected as the starting of
a string. When using a single " it has to be escaped, likewise as in a unix
setting. The escape character is the \

Takes some getting used to....
Thanks Ursus-

I had seen the new escape notation for calcs but I had no idea it
would be required in Finds. I'm sure I can get used to it, but my
users? That's another story.

thanks again!



Reply With Quote
  #4  
Old   
d-42
 
Posts: n/a

Default Re: Searching for: 1" Panel - 06-19-2007 , 04:10 PM



On Jun 19, 9:28 am, Paul Bruneau <p... (AT) ethicalpaul (DOT) com> wrote:
Quote:
Yes. There are some changes. The " now is to be expected as the starting of
a string. When using a single " it has to be escaped, likewise as in a unix
setting. The escape character is the \

Takes some getting used to....

Thanks Ursus-

I had seen the new escape notation for calcs but I had no idea it
would be required in Finds. I'm sure I can get used to it, but my
users? That's another story.

thanks again!
I find the best solution to this is to use 'shadow fields' with
problems like that stripped out. And then script finds against the
shadow fields. Or alternatively script the find to 'cook' the data to
escape the " marks. This limits your ability to both use AND find
quote marks, but it generally gives the users the functionality they
need, as they aren't likely to do any advanced character escaping
anyway.

-cheers,
dave



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.