Hi Ron,
Turn off the Restore option on your Perform Find step.
--
Steve Moore
Cumberland, Maine



On Dec 29, 2008, at 10:59 AM, Ron wrote:

I have a relation of MailList to Mailist_Household, based on HouseholdID. MailList holds a code for a specific mail list, for a specific household, where a Household may be on many lists and there ar of course many Households.
I also put a global field gMailListentry in it.

I have a menu-type layout which has a pull-down list of the mailing codes: the layout is based on MailList and the pull-down is pointed at the global field. When an entry has been selected, and thus inserted into the global field, I have a button which calls a script:

MailListLabels

#Do Find on MailListLabels layout based on Maillist code selected on menu

Set Variable [ $vmaillistentry; Value:MailList::gMailListEntry ]
Go to Layout [ “MailList” (MailList) ]
Show All Records
Enter Find Mode [ ]
Perform Find [ Specified Find Requests: Find Records; Criteria: MailList::MailList: “= $vmaillistentry” ]
[ Restore ]
Go to Layout [ “MailListLabels” (MailList) ]
Enter Preview Mode

The Find always returns zero records.

What am I doing wrong?

Many thanks.
Ron Carr

Reply via email to