Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Readonly on Table Open
Message
 
 
To
01/11/2005 12:15:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01064050
Message ID:
01064123
Views:
17
>>>What would force a table to be opened with READONLY=.T.? I am performing the following command:
>>>
>>>USE (pcFileName) IN 0 AGAIN ALIAS mytable SHARED
>>>
>>>This is being executed in the Init method of a form with the variable 'pcFileName' being passed as a lparameter.
>
>>>Is it a real table? Is it open somewhere else? If yes, what is the mode? Do you have a read-write access to
>>>that file?
>
>The table is a form (scx), it is not open anywhere else and I have read-write access. I can open the form with the MODIFY FORM command; but if opened via my form Init method as above it is being opened readonly.

Are you passing it with the full path and extension? I just tried in command window

USE GETFILE('scx') IN 0 AGAIN ALIAS mytable SHARED

it woirked just fine.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform