` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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


Today is November 23, 2024, 3:30 am
This article has been viewed 35223 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: