Corn's reply to this question has left me in a dilema, as it is
different to what I do in similar circumstances and now I am not sure
whether what I do is correct or not.
If I ever use the processes described, I always use the Insert
Calculated Result command to copy the required value into the blank find
field. Corn is recommending the set field command which I have just
tried and it seems to work OK.
I cannot remember why I first started using Insert Calculated Result (it
was certainly in the Filemaker 5 days). Can anyone explain the
difference between the two and why you would use one over the other.
Best Wishes
Jim Brear
COAMAS Services
PO Box 1542 Armidale NSW 2350
Mobile Phone: 0429 428 700
Home Office Phone: (02) 6772 3933
Fax: (02) 6771 3666
email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
COAMAS - Community Options, Advocacy, Management and Accounting Software
Corn Walker wrote:
On Mar 25, 2008, at 5:31 PM, Charles Weber wrote:
I have the following script:
Set variable [$ID;
Value:tbl_data_Donations::_ks_Contact_ID]
Go To Layout [“ Donations”(tbl_data_Donations)]
Perform Find [Restore]
When I execute the script, the variable is set to the correct value
but when Perform Find executes, it places “$ID” in the find field
rather than the value assigned to $ID.
Needless to say, the Find can’t find a matching record.
Any suggestions on how to get the Find to look for the value rather
than the variable name?
You need the following script:
Set Variable [$ID; Value:tbl_data_Donations::_ks_Contact_ID]
Go To Layout [" Donations"(tbl_data_Donations)]
Enter Find Mode
Set Field [TheFieldYouWantToFindOn;$ID]
Perform Find []
That should fix you up.
Corn Walker
The Proof Group
http://proofgroup.com/