Dear Sir/Madam
Please tell me how can i remove "Invalid use of null" problem . Coding given below
There is no value in rc1.fields(6)
db1.Open "Provider='Microsoft.Jet.OLEDB.4.0';Data Source='" & App.Path & "\tmgmt.mdb';"
st1 = "select * from travel where sno = " & frmtorf.tserial.Text & ";"
rc1.Open st1, db1, adOpenDynamic, adLockBatchOptimistic
tn1.Text = rc1.Fields(1)
tn2.Text = rc1.Fields(2)
tn3.Text = rc1.Fields(3)
tn4.Text = rc1.Fields(4)
tn5.Text = rc1.Fields(5)
[B]cn1.Text = rc1.Fields(6)[/B]
cn2.Text = rc1.Fields(7)
cn3.Text = rc1.Fields(8)
cn4.Text = rc1.Fields(9)
cn5.Text = rc1.Fields(10)