Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report crashes application after printing
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00095464
Message ID:
00095467
Views:
20
Rats!, a typo. Please ignore cdtocBDate. it is not in the code.
>I have this code behind a button;
>
>LOCAL dBDate,cdtocBDate
>dBDate = CTOD(THIS.PARENT.txtRptDate.VALUE)
>REPORT FORM BatchRpt NOCONSOLE TO PRINTER PROMPT
>ThisForm.txtFind.SetFocus()
>
>The report prints and returns control to the app nicely on my PC, either in the developer mode or running the exe. However, on the user's machine the code prints ok but crashes the app attempting to return to the form. (Error 10H in VFP500.dll)
>
>BatchRpt uses a parameterized view, lv_batchrpt, and is passed dBDate.
>The report makes it to the printer ok, and the printer returns a msg to the workstation telling it that printing is complete. I have tried renaming the dataenvironment in the report, to no avail.
>
>The printer checks out fine and prints other reports in the app that use views, but this is the only one that uses a parameterized view.
>I'm out of ideas.
Nebraska Dept of Revenue
Previous
Reply
Map
View

Click here to load this message in the networking platform