Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beating my head against a TABLE! But why?
Message
From
19/03/2002 21:45:52
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00634613
Message ID:
00634748
Views:
21
>Tamar,
>
>I did as you said and put in the Watch Window, USED("alias") and Breakpoint was set to a Location and I think it stopped where it was supposed to, but I am not sure how to interpret where it stopped.
>
>It stopped on the command
>DO FORM(formname) in my .PRG
>
>I think it stops here every time I press a navigation button because each of my navigation buttons Releases the form, but none of them close my table. I searched my entire form using an Object form search for "USE" and did not find one anywhere in my form. The only "USE" I find is the one at the start of my .PRG that opens the table and then the one at the close of the .PRG that closes my table.

Do you also get a messagebox saying "Value of used("{alias}" has changed"? If not, you need to click the margin to the left of the entry in the watch window to actually set a breakpoint. If you're seeing "Do form" as the line, it means you're looking at the code in a wait state, when it's doing nothing, and not at the breakpoint, where it should have some of the "use", "close" or "set datasession" commands in the trace window (can't really remember which other command would change the result of used()).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform