Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No table open in the current work area??
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00117554
Message ID:
00117964
Views:
12
>Hi all,
>I'm having a problem doing a print preview from a form. All works fine until I do a print preview of a report from the form and then close the preview to return to the active form. Everything look like it did when I left until I try to perform any action on the form. The "OPEN" file dialog box pops up asking to open a file. Any ideas as to what might be the problem? This may seem trivial to some but I'm a fairly new at VFP and this one has me confused. BTW, I do have private data session set for both the form and the report and I'm using a "view" for the report. Any help would be appreciated, Thanks.

Jamie, check your data sessions. It sounds like you are using a report with the default datasession. In the case of a report, it 'defaults' to the datasession of the calling form, just as a modal form does. If your report datasession has AutoCloseTables set to .T. (I think this is the default) you will be closing your FORM tables as well.

To get around this, you can set AutoCloseTables to .F. or use a Private datasession for the report.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform