Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Super Dumb Workarea Question
Message
From
28/03/2000 22:57:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Super Dumb Workarea Question
Miscellaneous
Thread ID:
00351870
Message ID:
00351870
Views:
46
I am calling a report form a command button click() in the column of a grid in a pageframe.

Prior to the click() there are scads workareas occupied other tables/views/cursors et all.

As a result of the button click(), I select records into a "report cursor", redundantly select that workarea, and then issue a REPORT FORM command TO PRINTER PROMPT.

As long as I step through the code, all is well. The moment I allow the code to run unattended, the report executes with the wrong workarea selected.

In order to attempt to resolve this I have, at various times, placed redundant "select (workarea) " statements in the reports DE and every other place that I can think of all to no avail.

I am working in DataSession(1), Ken Levy's SuperClass is using DataSession(2).

I am supremely confident that I am the problem, but I seem to have this BEAM in my eye so that I can't see it.

Words from the wise awaited.
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Next
Reply
Map
View

Click here to load this message in the networking platform