Delphi 错误:Could not convert variant to type(Null) into type (String)
Delphi 错误:Could not convert variant to type(Null) into type (String)
翻译:无法将variant转换为type(Null)转换为type(String),
以上翻译感觉拗口,真正的解释是:不能转换variant类型(空),输入到类型(String),即variant类型是空的,转换成String类型失败。
如果需要转换判断variant值是否为空,可以利用VarIsEmpty、VarIsNull 两个函数
https://www.cnblogs.com/guorongtao/p/12909201.html
创建时间:2020.05.18 更新时间:
博客园 滔Roy https://www.cnblogs.com/guorongtao 希望内容对你有所帮助,谢谢!