Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System hangs after processing data and print report

Status
Not open for further replies.

vishee

Programmer
Jul 27, 2004
1
0
0
IN
In windows95 & 98, system hangs when i generate a report.
In other machine works for 2-3 times and hangs
Hangs means it has to be hot booted.

Processing module includes -
creating of temporary files
creating temporary files using variables e.g.
tmpfile = "abcd"+substr(time(),7,2)+".dbf"
SELECT 45
COPY TO (tmpfile) FOR ACTIVE
generating report using REPORT FORM XYZ PREVIEW



Thanks in advance
Vishee

 
Does the system hang when you send the report directly to the printer, instead of previewing it?
 
If you are using VFP 6 ensure that you have applied the latest patch - SP5
 
If you are printing to an HP printer, you may want to read - "PRB: "API Call Caused an Exception" Error Message with Third-Party Print Drivers". You can add this code even if the user isn't using HP printer drivers - it can't hurt, and it may help.

Rick
 
"REPORT FORM XYZ PREVIEW"

Never tried the syntax might be a problem,
try "report form xyt to print preview"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top