Print to a file using reports: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
Line 6: Line 6:
Pardon the jumbled looking code, but with Win2PDF pro you can do the following:
Pardon the jumbled looking code, but with Win2PDF pro you can do the following:


function JumpStartReport string sInvoice boolean bEmail string sEmailAddress returns boolean
function JumpStartReport string sInvoice boolean bEmail string sEmailAddress returns boolean
     boolean bExists bMailed
     boolean bExists bMailed
     integer iToPrinter iRepObj iHr iMn iRetval
     integer iToPrinter iRepObj iHr iMn iRetval
Line 73: Line 73:
     //
     //
     function_return bMailed
     function_return bMailed
end_function // JumpStartReport
end_function // JumpStartReport
 
====Using VB.net====
Not VDF code, but a VB.net code sample that you can use to model against (or use it by wrapping it in a small .net binary)
 
http://groups.google.com/group/microsoft.public.dotnet.framework.drawing/browse_thread/thread/66e5f32dd0fc1757


====External Links====
====External Links====
[http://www.sture.dk/wasp/threadreport.asp?ThreadId=40911 OT: Print to a File]
[http://www.sture.dk/wasp/threadreport.asp?ThreadId=40911 OT: Print to a File]
Anonymous user

Navigation menu