While executing the following code szNotes := SQL.FieldByName('Notes').AsString; throwing an “fetch type out of range” error message. I’m using SQL Server DB, the field type is VARCHAR(MAX). How to resolve this issue, please guide me.
While executing the following code szNotes := SQL.FieldByName(‘Notes’).AsString; throwing an fetch type out of
Share
try to use szNotes := SQL.FieldByName(‘Notes’).AsWideString;