Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Super Dumb Workarea Question
Message
 
 
To
28/03/2000 22:57:08
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00351870
Message ID:
00351875
Views:
19
Barry,

What workarea is being selected? It's quite possible that the grid is pulling focus back to it's RowSource in your situation. Why not use a single button outside the grid?

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform