在VB中执行qsl有字段没内容怎么办?
来源:百度知道 编辑:UC知道 时间:2024/05/22 17:27:22
dim rs as new adodb.recordset
dim con as new adodb.connection
rs.open sql,con,3,2
if isnull(rs.fields(字段名).value) = null then 判断是否为空
end if
用isnull()做个判断,判断这个字判里是否有内容
UC知道是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度知道 编辑:UC知道 时间:2024/05/22 17:27:22
dim rs as new adodb.recordset
dim con as new adodb.connection
rs.open sql,con,3,2
if isnull(rs.fields(字段名).value) = null then 判断是否为空
end if
用isnull()做个判断,判断这个字判里是否有内容