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?
Unidac Microsoft Access TMemoField is Truncating
Sample Project
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.
There are 2 buttons. One uses TAdoquery which works and the other uses TUniQuery which does not work.
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.
Please share this example again at any available server or send this example to us by E-mail.
Posted by email
I am trying to figure out at our end why it is blocked, however I also sent by email attachment.
Update to fix
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.
My work around did not work in all cases - so I had to give up on it.