>>>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.
Even if an .SCX is marked read-only, you can still open it with MODIFY FORM, you just can't save the changes. It will also say "Read-Only" in the form designer titlebar.