Unidac Microsoft Access TMemoField is Truncating
Posted: Thu 15 Apr 2010 14:41
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?
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?