memo field content being deleted

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
RoyS
Posts: 10
Joined: Wed 13 Jul 2005 11:48
Location: UK

memo field content being deleted

Post by RoyS » Wed 30 Jul 2008 09:55

URGENT help needed on this one please.

Versions:
Delphi 2007; Vista Premium; MyDac 5.20.1.14; MySQL 5.0.51b

Structure:
Client dataset -> ds provider -> TMyQuery ...

Steps to reproduce:
On a form with a memo and text field linked to the MySQL table put data in both fields and post the changes.
edit the memo field, post and refresh - the changes are stored OK.
edit the text field ONLY, post and refresh - the memo field has been set to null.
post data into the memo field and refresh.
amend both fields, post and refresh - the changes are stored OK

Roy :(

eduardosic
Posts: 387
Joined: Fri 18 Nov 2005 00:26
Location: Brazil

Re: memo field content being deleted

Post by eduardosic » Wed 30 Jul 2008 11:44

RoyS wrote:URGENT help needed on this one please.

Versions:
Delphi 2007; Vista Premium; MyDac 5.20.1.14; MySQL 5.0.51b

Structure:
Client dataset -> ds provider -> TMyQuery ...

Steps to reproduce:
On a form with a memo and text field linked to the MySQL table put data in both fields and post the changes.
edit the memo field, post and refresh - the changes are stored OK.
edit the text field ONLY, post and refresh - the memo field has been set to null.
post data into the memo field and refresh.
amend both fields, post and refresh - the changes are stored OK

Roy :(
Try Upgrade to new version of MyDAC first... 5.50.0.36

RoyS
Posts: 10
Joined: Wed 13 Jul 2005 11:48
Location: UK

Solved - but ...

Post by RoyS » Wed 30 Jul 2008 13:15

Now that I have posted a question on this forum, I have just found the solution! The TDatasetProvider component needs "Resolve to dataset = true".

However I would still like to upgrade but I am waiting on a reply from your colleagues as I can't find where to download the code.

Thanks for the excellent response.

Roy :D

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 31 Jul 2008 11:57

We have answered you by e-mail.

Post Reply