hi..
I have just started learning VB ..

I wrote the following code..

If s = rs.Fields(0) And se = rs.Fields(1) Then
...
end if

where s is declared as an integer and se as a string .They are got from the user during runtime..
field(0) and field(1) are the corresponding fields..
and field(0) is a number and field(1) is a text in the database
but this statement is not executed...
rs is not empty...

what am I doing wrong?


I also want to know the difference between ADO and DAO statements ..

thanks ....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.