Edit record in TMyQuery

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
kenny
Posts: 43
Joined: Mon 15 Nov 2004 08:48
Location: Malaysia
Contact:

Edit record in TMyQuery

Post by kenny » Tue 21 Dec 2004 05:11

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.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Re: Edit record in TMyQuery

Post by Ikar » Tue 21 Dec 2004 09:57

Please specify what MyDAC version you use (3.XX.X.XX).

kenny
Posts: 43
Joined: Mon 15 Nov 2004 08:48
Location: Malaysia
Contact:

Post by kenny » Tue 21 Dec 2004 10:07

I'm using MyDac v3.30.0.12 for Delphi 5...

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Wed 22 Dec 2004 09:43

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.

kenny
Posts: 43
Joined: Mon 15 Nov 2004 08:48
Location: Malaysia
Contact:

Post by kenny » Thu 23 Dec 2004 03:33

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

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Thu 23 Dec 2004 08:34

Please send to mydac*crlab*com

Post Reply