powerbuilder - Overwriting print pdf files -


pb 11.5: default printer set cutepdf; there 4 printouts in program. changes have been made create separate file name setting document name dataobject name plus time stamp this: ls_filename = ads_datastore.dataobject + '_' string(day(today())) + '_' + string(minute(now())) + string(second(now()))

when in debug mode, creating separate files names using tstamp long since have breakpoint it's printing report (to pdf).
when running thru normall without debug, creating 1 file. here weird thing: can see 4 prompt screens showing me 4 different file names. click ok on of them. when go explorer, see 1 file (the 1st one). contains data last report.
thoughts on why it's not keeping proper file names , makeing them separate??

if getting data last report sounds like:

1.) process running enough files named in same second, , over-written. consider adding finer level of detail seconds or add 4 separate naming identifiers (e.g. _rpt1, rpt2, etc.) 4 different reports each report has guaranteed unique name.


Comments