Page 1 of 1

Edit record in TMyQuery

Posted: Tue 21 Dec 2004 05:11
by kenny
Hi,
I found out that when I used TMyQuery to edit a record, the key field will become read only...
Is that anyway to edit the TMyQuery record for key field?
Thanks!

p/s : I had tried QSupplier.Fieldbyname('Code').ReadOnly := False but also not work.

Re: Edit record in TMyQuery

Posted: Tue 21 Dec 2004 09:57
by Ikar
Please specify what MyDAC version you use (3.XX.X.XX).

Posted: Tue 21 Dec 2004 10:07
by kenny
I'm using MyDac v3.30.0.12 for Delphi 5...

Posted: Wed 22 Dec 2004 09:43
by Ikar
Please check, possible you set option MyQuery.Options.SetFieldsReadOnly := True.

If not, send us please small demo project to demonstrate the problem and include script to create server objects.

Posted: Thu 23 Dec 2004 03:33
by kenny
Hi
I had checked that MyQuery.Options.SetFieldsReadOnly := False
so, I'm going to sent you the demo... but where should I send to? Thanks

Posted: Thu 23 Dec 2004 08:34
by Ikar
Please send to mydac*crlab*com