Hello All,
I have one condition that Is got Date value from field in VB6 programming then it will insert same date other wise if Date field is empty then a 'null' value should be insert into table.
The date field datatype is 'datetime'.
I have created a Stored Procedure and passing date value as follows.
StoreProcedure IIF(IsDate(text1.text),Text1.text,null)
It is giving error "Invalid us of null" and also giving error from SQL Query manage if I pass
StoredProcedure null
Please help me
thanks in advance
2007-01-03
23:26:49
·
4 answers
·
asked by
Jack J
1
in
Computers & Internet
➔ Programming & Design
In the above not showing
"IIF(IsDate(text1.text), Text1.text,null)"
2007-01-03
23:28:39 ·
update #1