I have a fairly small application set up in FoxPro 6. In the project manager I have added a database with a few tables for use by the application.
On running the application. I "Set Exclusive On" and "Open Database". Then throughout the app, I "USE" the tables as I need them. The problem is, whenever I try to modify the tables, I get an error because they are read-only! This only happens when I open them in the code.
So if I set a breakpoint in my code right before this...
USE MY_TABLE
Then copy that line into the command window and run it, it opens the table read/write. Then I close the table and F6 through the above line. *It opens it read-only!!!*
Arg! Please help.
Thanks,
C
On running the application. I "Set Exclusive On" and "Open Database". Then throughout the app, I "USE" the tables as I need them. The problem is, whenever I try to modify the tables, I get an error because they are read-only! This only happens when I open them in the code.
So if I set a breakpoint in my code right before this...
USE MY_TABLE
Then copy that line into the command window and run it, it opens the table read/write. Then I close the table and F6 through the above line. *It opens it read-only!!!*
Arg! Please help.
Thanks,
C