Link to home
Start Free TrialLog in
Avatar of ICPooreman
ICPooreman

asked on

is there anyway to set a specific field of a dataset editable

I'm using
   DataSource1.DataSet.Edit;
to set my fields to editable.

A situation has come up where I would like to set a specific field in my table to editable and none of the other ones is this possible and how do I do it?  

So something like
DataSource1.DataField('Fieldname').Edit
Avatar of TheRealLoki
TheRealLoki
Flag of New Zealand image

you can set "ReadOnly" to true on each field
so in your case, you could set them all to false except the one you want to edit
ASKER CERTIFIED SOLUTION
Avatar of JDSkinner
JDSkinner

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
or you can do it with enable and disable to component like DBEdit. Once it disable, the user cannot edit on that field.
Make disable/Enable depends on the criteria you need.

sun4sunday