Hai buddies i am razak .
dim strsql as string
strsql="select * from diary where da=#" & dtpicker1.value &"# and code=" & text1.text
set rs=db.openrecor dset("strsql",d bopensnapshot)
if rs.bof and rs.eof then exit sub
text2.text=rs.f ields(3)
rs.close
it have an error [ jet db strsql is nothing check the spelling etc]
i am already set the db source from form load()
here the "diary" is the table name
plz help me guys !!!
Thanx in advance..
dim strsql as string
strsql="select * from diary where da=#" & dtpicker1.value &"# and code=" & text1.text
set rs=db.openrecor dset("strsql",d bopensnapshot)
if rs.bof and rs.eof then exit sub
text2.text=rs.f ields(3)
rs.close
it have an error [ jet db strsql is nothing check the spelling etc]
i am already set the db source from form load()
here the "diary" is the table name
plz help me guys !!!
Thanx in advance..
Comment