vb中要将空字符串赋值给日期字段该怎么办

2025-12-04 23:46:44
推荐回答(2个)
回答1:

该字段在数据表中允许空白字符串及非必填字段.

回答2:

if time1="" then
rs("data1")=now()
else
rs("data1")=time1
end if