G
Guest
I have a table on the SQL sever that I would like to connect to it and search
for a fields that already there in the table. However, when i debug, the
program skip the rsttbl.MoveFirst and jump out of the loop. That means it can
not find that table's record. I think I declare correct connection as
oConn.Open "Provider=sqloledb;" & _
"Data Source=myServerName;" & _
"Initial Catalog=myDatabaseName;" & _
"User Id=myUsername;" & _
"Password=myPassword"
Do you know why?
Thank you
Do you know why?
for a fields that already there in the table. However, when i debug, the
program skip the rsttbl.MoveFirst and jump out of the loop. That means it can
not find that table's record. I think I declare correct connection as
oConn.Open "Provider=sqloledb;" & _
"Data Source=myServerName;" & _
"Initial Catalog=myDatabaseName;" & _
"User Id=myUsername;" & _
"Password=myPassword"
Do you know why?
Thank you
Do you know why?