Corn:
Works great.
Thanks.
Charlie
-----Original Message-----
From: FileMaker Pro Discussions [mailto:[EMAIL PROTECTED] On
Behalf Of Corn Walker
Sent: Tuesday, March 25, 2008 6:01 PM
To: [email protected]
Subject:
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/