2020年5月18日

Delphi StrUtils-字符串函数RightStr、MidStr、LeftStr

摘要: Delphi StrUtils-字符串函数RightStr、MidStr、LeftStr 引用单元:StrUtils 函数原型: function RightStr (Const Str: String; Size: Word): String; begin if Size > Length(Str 阅读全文

posted @ 2020-05-18 11:35 滔Roy 阅读(1236) 评论(0) 推荐(0)

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类型(空),输入到类型 阅读全文

posted @ 2020-05-18 10:56 滔Roy 阅读(2048) 评论(0) 推荐(0)

Delphi Variants-VarIsEmpty、VarIsNull 判断Variant变量是否为空、是否包含Null值

摘要: 引用单元:Variants 函数:VarIsEmpty、VarIsNull 原型: //VarIsNull 判断Variant变量是否包含一个Null值,例如数据库原始字段值Null function VarIsNull(const V: Variant): Boolean; begin Resul 阅读全文

posted @ 2020-05-18 10:42 滔Roy 阅读(2873) 评论(0) 推荐(0)

导航