Hi all,
this is my connection:
cnResident.Open "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = d:\myDatabase.mdb"
and this is my query:
sQuery = "SELECT * FROM tableName WHERE Location_No >'7047'"
rsResident.Open sQuery, cnResident
It works fine most of the time but if i change the operator to < (smaller than) instead of > (larger than) then i got the error msg:
runtime error '-2147467259(80004005)':
Not a valid bookmark.
How does this happen ? and what does it mean ? It's just practically the exact same, why one works and the other doesn't ? I'm extremely desperately here, please help me get it solved. Million thanks to you.
Helen Sincerely,
Bao Nghi
this is my connection:
cnResident.Open "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = d:\myDatabase.mdb"
and this is my query:
sQuery = "SELECT * FROM tableName WHERE Location_No >'7047'"
rsResident.Open sQuery, cnResident
It works fine most of the time but if i change the operator to < (smaller than) instead of > (larger than) then i got the error msg:
runtime error '-2147467259(80004005)':
Not a valid bookmark.
How does this happen ? and what does it mean ? It's just practically the exact same, why one works and the other doesn't ? I'm extremely desperately here, please help me get it solved. Million thanks to you.
Helen Sincerely,
Bao Nghi