Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Troubles
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00141692
Message ID:
00141774
Views:
28
Perry,
1) You may not have any CLOSE TABLE commands, but do you have any USE TABLE commands? If you've forgotten to either SELECT 0 before the command or USE TABLE IN 0 you may be opening a new table in the same workspace as your cursor.

2) Is the MoverList form called from your Main form? If so, should you make it modal? If you do, set the MoverList form's datasession to DEFAULT. It will then look at the same data as the Main form does.

3) If the MoverList form is NOT modal, then any code after the Do Form MoverList.... command will be completed while the MoverList form is still open.

You may want to put your Mover List into a container and set the container.visible property to .F. Add it to your main frame, and when you want to use it make Visible = .T. Very useful technique.

HTH
Barbara

>Hi all,
>
>I have a form with a moverlist in it. I have a cursor open in a workspace but when I test it the cursor seems to close and I get all kinds of errors when I run a scan...endscan on that cursor. There are no CLOSE TABLE commands anywhere in that method. Also the main form seems to refresh before my click method is done. Main.refresh() is where all tables are closed to prepare for a new search.
>
>I hope I explained this clearly.
>
>TIA
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform