Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vfp5.0 convert to 6.0 tables become readonly

Status
Not open for further replies.

WILLAI

Programmer
Apr 11, 2002
15
HK
Hi guys, I am beginner for VFP, and I need to convert a whole vfp5.0 program to vfp6.0. Currently run in an individual PC now going to replace it to a file server running on multi-users platform by an Executable file.
But while the program running in the file server, some tables become read only (i.e. unable to edit). I had change the main.prg code to "SET EXCLUSIVE to OFF" and "USE MOVEMENT SHARE". But the result is same - Read only. Could anyone give me advise how to fix this ?
Thanks
 
Hi

Make sure that the tables referred under data section in your project are marked.. EXCLUDED.
To do this.. select the data tab in yur project.. reach the tables one by one.. right click mouse on them.. and select Exclude.
Then recompile and run the application.

Hope this helps :) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Ramani, thanks for your advise ! These tables must included, because the program is using them. The problem is the table become read only after complied by vfp6.0. Do you think I need to import the table from vfp6.0 ?
 
I think you missed what Ramani suggested. You make the tables part of your project (include them in the project manager) but you need to exclude them from the executable, otherwise they get compiled in the exe and become read-only. Just right-mouse on the tables and select excluded.
 
I would like to take this chance to thanks Ramani and mgagnon there ! Without your suggestion, I couldnot finish this project !
Ramani, you're great !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top