Hi,
I want to save the red highlighted date as null, using VB 6 and Access 2003 as back end, my code is as under, but not giving the desired result.
Please help meCode:mSQL = "Insert into tblChqMaster Values(" & mChqMasterId & ", #" & txtDate & "#, " & fgData.TextMatrix(sRow, 4) & ", #" & txtDate & "#, " & Val(PartyId) & ", #" & txtDate & "#, " & 0 & ", '" & "Own" & "', '" & "-" & "', " & Val(UserId) & ")" mSQL = Replace(mSQL, "##", "NULL") db.Execute mSQL


Reply With Quote

