Layout script trigger
I have a small database to hold receipts for different project.
I now need a way to easily keep these project separate, and to see if I've re-nvoiced the different companies for what i've spend on their behalf.
I have a 'master' layout where I type in all the information relating to a receipt. Then I thought I'll make another layout for all different companies. I then enter the the 'companyX' layout in list mode which should only show the records relating to companyX. I've tried different things but nothing seems to work.
I've tried to add a script-trigger to the layout with the following script:
Show All Records
Enter Find Mode [ Specified Find Requests: Find Records; Criteria: Transactions::CLIENT: “ALEX EAGLE” ] [ Restore ]
Perform Find [ Specified Find Requests: Find Records; Criteria: Transactions::CLIENT: “ALEX EAGLE” ] [ Restore ]
Sort Records [ Keep records in sorted order; Specified Sort Order: Transactions::Invoiced; ascending Transactions::DATE; ascending ] [ Restore; No dialog ]
It performs the search, but doesn't stop, and first stops when i press 'esc'. What do I do wrong?