Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print from preview selects wrong area
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00909045
Message ID:
00909083
Views:
15
You are probably right. The thing is, I am looking at one line of code: REPORT FORM TO PRINT PROMPT PREVIEW, the preview is always OK, so whatever happens, it happens between the preview and the print prompt...
This is not a new app, it has maybe 2 years since it's in use, and I'm almost positive it did not have this problem before. Maybe tomorrow will be a better day...
Thanks for help.

>It does look like some other than current grid gets activated. I would dig in that direction.
>
>>>What's the current work area when error occurs? Is't one of views?
>>
>>Yes, it is one of the views - if it is not a coincidence, it is the one from which last records were 'exported' to the cursor.
>>
>>>...Do you've any code in the Form/Page Activate?
>>
>>Yes, I set some form properties and enable/disable some controls. In the page with the problem, I had a grid.setfocus, but I disabled that and it didn't make any difference. Also, as I said, the table that needs to be selected IS the recordsource of the grid.
>>
>>>... Any timers in effect?
>>No.
>>
>>
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform