i have integer variable like this:
Dim valetid as integer
If cvalettype.Checked Then
valetid = RecordID("vtid", "VType_tbl", "Vtype", cmbvalettype.Text)
Else
valetid = 0
End If
if condition coming to else case the valetid taking 0 value.that is saving in database as 0 only. if condition coming to else case i want to save my valetid in mydatabase as Null(now in my database saving valetid as 0).in my database Valetid datatype i declared as int.how i can do this?
{}button (as I've done for your existing code) so that it gets marked up as code with syntax highlighting.