X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Apr 2009 09:07 AM by  anon
why can not select data from a table named Parameters in MS Access DB?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Apr 2009 09:07 AM
    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?

    Deleted User



    New Member


    Posts:
    New Member


    --
    08 Apr 2009 07:07 PM
    Actually,  I need to create a recordset from the table named 'Parameters' which have some datas in it, and the refered obj is not careated successfully and invalid.  But after I change the table's name,without changing the datas in it, the newly created recordset was valid, why? 
    You are not authorized to post a reply.