`
Par2: Print current record, before saving 2010-05-15 -- Maarten Veenstra > I have a situation where on a data entry form the user wants to print the record prior to > pressing OK. Goto your print procedure and go into the report structure source by pressing the [...]-button. Select All and copy. Goto your form and press the same [...]-button for the report and paste your structure. Under your printbutton just embed: Open(Report) Print(RPT:Detail) Close(Report) Put in the tooltip of your printbutton that it is a direct print, w/o print-preview. Note: You'll get warnings for duplicate field equates. These can be ignored. If you don't want them then add a incr. number at the 2nd place of the report's USE(?Field, #) var's. When you've got a gazillion fields then you can use a different approach: define: PRN:Record Like(Pre:Record),Pre(Prn) In the report structure, do a F&R 'Pre:' -> 'PRN:' and, before opening the report: PRN:Record = Pre:Record Printed November 21, 2024, 6:29 am This article has been viewed/printed 35220 times. |