Page 1 of 1

Unidac Microsoft Access TMemoField is Truncating

Posted: Thu 15 Apr 2010 14:41
by Bob
I am converting from using the TAdoquery component using a Microsoft Access database to the Tuniquery component.

I use to be able to do the following.

var query : Tadoquery;

begin
...
slist := TStringlist.create;
try
//script is of type TMemoField
slist.text := query.fieldbyname('script').asstring;
//slist would now contain the full contents - works great
finally
slist.free;
end;
end;

Now with TUniquery...

var query : Tuniquery;
begin
...
slist := TStringlist.create;
try
//script is of type TMemoField
slist.text := query.fieldbyname('script').asstring;
//slist contents are now truncated.
finally
slist.free;
end;
end;

I have already tried many things to get the full contents from the script field with no success.

What am I doing wrong?

Posted: Fri 16 Apr 2010 12:54
by bork
Hello

Please send us full content of your "script" memo field and content truncated by the TUniQuery component and we will help you to resolve the issue.

Sample Project

Posted: Fri 16 Apr 2010 13:52
by Bob
I have posted a sample project for download at http://www.tiermed.com/TEST/test.zip

There are 2 buttons. One uses TAdoquery which works and the other uses TUniQuery which does not work.

Posted: Mon 19 Apr 2010 10:09
by bork
I am trying to download your example and I am getting an error: "You are not authorized to view this page". Link "http://www.tiermed.com/TEST/test.zip" is not available for me.

Please share this example again at any available server or send this example to us by E-mail.

Posted by email

Posted: Mon 19 Apr 2010 13:43
by Bob
I am trying to figure out at our end why it is blocked, however I also sent by email attachment.

Update to fix

Posted: Tue 11 May 2010 13:34
by Bob
I know that you have fixed this, and am waiting patiently for the fix. I even reverted back to using ADO so that I can release my product. When is your next release going to be?

My work around did not work in all cases - so I had to give up on it.

Posted: Wed 12 May 2010 12:16
by bork
Hello

We are going to release the new build next week.