I have a database(*.mdb) of Microsoft Access, and create a table named 'Parameters'. I get a dataRecordset from this table and get other values like this:
tables=CurrentDatabase->getTables()
paraTalbe='Parameters'
index=where(tables.name eq paraTalbe,cnt)
paraRecordset=obj_new('IDLdbRecordset',CurrentDatabase,table=paraTalbe)
print,index,cnt,obj_valid(paraRecordset)
The printed values are:
1
1 0
why table named 'Parameters' exists, and has some records in fact, but obj_valid(paraRecordset) returns 0?
|