Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report crashes application after printing
Message
De
28/04/1998 13:20:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00095464
Message ID:
00095469
Vues:
24
>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.
Jerry,
Apart from code, what is the printer and printer driver used on wkstation. ie: Epson Stylus 600-800 or HP LJ many series original drivers are problem themselves. Try with original win95 drivers (at least generic HP Laserjet for any HP series) if this could be a case. I had similar problems on client machines with those printers and a post about it had many replies supporting.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform