![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
FM8.5 How does one script a find that returns all records in a table with the same field value as the record currently being browsed? The records are INVOICES. The field value in this case is a company name from a CONTACTS table. I thought Set Field might be the route but I do not know how to get the current field's value and put it into a find. |
)
#3
| |||
| |||
|
|
FM8.5 How does one script a find that returns all records in a table with the same field value as the record currently being browsed? The records are INVOICES. The field value in this case is a company name from a CONTACTS table. I thought Set Field might be the route but I do not know how to get the current field's value and put it into a find. |
#4
| |||
| |||
|
|
In article bcd8b821-798d-44e1-999d-744e6f67032d...oglegroups.com>, Buckbuck<buck.matthew74 (AT) yahoo (DOT) com> wrote: FM8.5 How does one script a find that returns all records in a table with the same field value as the record currently being browsed? The records are INVOICES. The field value in this case is a company name from a CONTACTS table. I thought Set Field might be the route but I do not know how to get the current field's value and put it into a find. First you make a 'copy' of the data from the required Field in a Global Field (using the Set Field command), then enter Find mode and 'copy' the data back to the required Field so that FileMaker can perform the Find. e.g. Set Field [g_DataToFind; SearchField] Enter Find Mode []<--- Make sure NOT to pause or restore requests Set Field [SearchField; g_DataToFind] Perform Find []<--- Make sure NOT to restore requests |
![]() |
| Thread Tools | |
| Display Modes | |
| |