开发者

"fetch type out of range" error message throwing

开发者 https://www.devze.com 2023-03-20 03:20 出处:网络
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 VARC

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.


try to use szNotes := SQL.FieldByName('Notes').AsWideString;

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号