04-26-2008 02:30 AM
04-26-2008 10:18 AM
Halemani wrote:
Enter accordingly. Becasue I database(.mdb) files are not allowed here...![]()
04-27-2008 10:21 PM
04-27-2008 10:23 PM
04-27-2008 10:37 PM
Halemani wrote:
Can someone please tell me how to edit my own post?
04-27-2008 11:01 PM
04-27-2008 11:26 PM - edited 04-27-2008 11:26 PM
04-28-2008 02:10 AM
I just tried your mdb file. I used the functions from the link I have given earlier.
First time I was able to connect to the database. But the command to retrieve all data from the table "Table" returned an error.
Then I opened the file in MS Access and renamed the table to MyTable, save and closed. This time I was able to retrieve data from the table. (Select * from MyTable;).
Next, I used your VI, chnaged the table name (in the command) to MyTable. Still problem. Error returned.
Back to my VI, I tried to use the command "select Slno,Username,Password,Level from mytable where Slno=3;". It returned me an error as in the picture.
I guess you have to avoid using certain terms, that are reserved as far as SQL is concerned. So try after changing them. In this case TABLE and LEVEL cannot be used as they seems to be reserved for SQL.
04-28-2008 02:14 AM
04-28-2008 02:30 AM