I have a problem with the below code in vb, i am using a dsn less connection to the db and everythign else works except:
this doesn't raise an error in vb just returns null for each field, also if I do:
that works part way, ie, i get all the requested records except the first one. any thoughts?
BTW this only doesn't work in mysql, both ways work when using a .mdb
sorry for the cross post, but i tried mysql, then realized this may be a vb problem requireing more attention in the vb fourm
Thanks,
James
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
"Make it idiot-proof and someone will make a better idiot." ~bumper sticker
Code:
select * from JobInfo
do until recordset.eof
i=i+1
recordset.movefirst
recordset.move i-1
tempstr = tempstr & recordset(0) & "~"
loop
Code:
select job_id, Job_Number from JobInfo
recordset.movefirst
do until recordset.eof
recordset.movenext
tempstr = tempstr & recordset(0) & "~"
loop
BTW this only doesn't work in mysql, both ways work when using a .mdb
sorry for the cross post, but i tried mysql, then realized this may be a vb problem requireing more attention in the vb fourm
Thanks,
James
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
"Make it idiot-proof and someone will make a better idiot." ~bumper sticker