I am printing badges from a Guest Check-in system. I've built a script and the badges print - just not the right badge. I want it to print the last badge created after the record was committed.
Here's the script:
Go to Layout [original layout]
Go to Portal Row [Select;Last]
Set Field [Events_EventsGuests::kf_ID_Contact_Reg; Events_EventCheckIn_Contact::k_ID_Contact_Reg]
Commit Records/Requests [Skip data entry validation]
Go to Layout ['Badges" (Events_EventGuests)]
Go to Record/Request/Page [Last] # I thought this would print the last badge in the layout but the script still only prints the first badge in the layout #
Print Setup [Restore; No dialog]
Print [Restore: Brother QL-570; No dialog]
Thanks for any help.