Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C000005 on report preview with 7.0 runtime, not with 6.0
Message
 
 
To
24/11/2001 08:25:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00584882
Message ID:
00585463
Views:
45
>Mark
>that is what I have been trying to do. But so far the error only occurs from inside a compiled .exe. I will send you the code and table, if I have luck!
>
>Looks very similar to the C5s of the pre-sp VFP6. Will try it with several printer drivers. Sometimes I just hit "preview" say 4 times. When I EXIT the last preview, BOOM!. Sometimes it takes 10 previews to break, or just 2.

The code I posted here for you to test does create an EXE and does a RUN /N DEMOREPO.EXE. The actual PRG file that you copy the code to creates a second PRG, creates a project, adds that second PRG to the Project, compile the EXE from that project, then runs the EXE using the RUN /N command.

How complex is your report? Does it only use 1 table? All you really need is to open up whatever tables you need, then call REPO FORM YOUR_REPORT PREVIEW in a loop, compile that into an EXE and run it.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform