>>>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