![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Im used to act, goldmine, etc , where you can do a keyword search, and it will look through notes, histories, all contact fields, too look for the occurence of a word. Yes, I know, I'm using baby words to describe multiple tables, I'm just really crawling here, admittedly, but in a single table with many fields, how does one execute a "search all fields for keyword"? thanks. |
#3
| |||
| |||
|
|
You may create a special field for those searches : Combined_data = notes & " " & histories & " " & contacts & " " & (others) ... and make a find on that field. Remi-Noel |
#4
| |||
| |||
|
|
In FMP6, the limit size of a field is 64000 characters. It's much in FM7-8. Yes, it is a calculation field with embedded (& " " &). It's a regular field not a global, as it has to be different from record to record. |
|
Another option to do what you are looking for is to make a script like : Enter Browse mode Set field ( Global_1, "the data you are searching") Enter Find mode Set error capture (On) Set field ( notes, Global_1) Set field ( histories, Global_1) Set field ( contacts, Global_1) Set field ( ..., Global_1) Perform find If ( Status ( CurrentError ) = 401 ) Set error capture (Off) Find all End of script End if Set error capture (Off) etc. |
#5
| |||
| |||
|
|
Enter Browse mode Set field ( Global_1, "the data you are searching") Enter Find mode Set error capture (On) Set field ( notes, Global_1) Set field ( histories, Global_1) Set field ( contacts, Global_1) Set field ( ..., Global_1) Perform find If ( Status ( CurrentError ) = 401 ) Set error capture (Off) Find all End of script End if Set error capture (Off) etc. Almost. This script requires that "the data you are searching" to exist in EVERY field of a matched record. You need to insert a "new record/request" between each set field. As I'm sure you know multiple criteria within a single find request are treated with AND semantics... separate requests have OR semantics. |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
For more than five fields or so, I would consider the 'go to next field' script step in a layout with all the relevant fields. |
![]() |
| Thread Tools | |
| Display Modes | |
| |