Hi,
How do I access the CanModify property in a dataset? I have been told that it is a public property that I should be able to set at runtime but can't seem to do it.
thx,
wes
Can Modify
You can't modify DataSet's CanModify property directly, to change its state to True you should set DataSet object ReadOnly property to False and define at least one field in KeyFields or include RowID in select SQL e.g. that is enough for TSmartQuery but if you use TOraQuery you also must define update SQLs properties.
Code: Select all
Select e.RowID, e.* from emp e