Hi guys,
I'm getting pretty fandangled on this FM thing now... so much so that I've gotten out of my depth (again) and need your trusty help.
On my Invoice data entry form I have added a button "Preview Invoice" which I want to go to the 'Print Invoice' layout and show the details of the same record, with a pause, to let the viewer see if it's OK. Then they can return to the browse mode in the Invoice data entry form to make any changes. (Or hit another button to Print or Save as PDF - which works perfectly)
I've created a script to do this, but the problem is instead of finding ONLY the record you were just looking at, it finds ALL the records once in preview mode. How do I get it to only show that one related record?
Here's what I've got so far:
Go to Layout ["InvoicePDF" (QLDGInvoices)]
Enter Preview Mode [Pause]
Go to Layout [QLDGInvoiceGenerator" (QLDGInvoices)]
Enter Browse Mode []
Any ideas? I tried a few things with 'Go to Related Record' but it didn't help.
Cheers,
Cradders
I'm getting pretty fandangled on this FM thing now... so much so that I've gotten out of my depth (again) and need your trusty help.
On my Invoice data entry form I have added a button "Preview Invoice" which I want to go to the 'Print Invoice' layout and show the details of the same record, with a pause, to let the viewer see if it's OK. Then they can return to the browse mode in the Invoice data entry form to make any changes. (Or hit another button to Print or Save as PDF - which works perfectly)
I've created a script to do this, but the problem is instead of finding ONLY the record you were just looking at, it finds ALL the records once in preview mode. How do I get it to only show that one related record?
Here's what I've got so far:
Go to Layout ["InvoicePDF" (QLDGInvoices)]
Enter Preview Mode [Pause]
Go to Layout [QLDGInvoiceGenerator" (QLDGInvoices)]
Enter Browse Mode []
Any ideas? I tried a few things with 'Go to Related Record' but it didn't help.
Cheers,
Cradders