Hi every body
I want to khow , how can I test a mdb file (Access file) for exsist table on it or not.
I worke with Delphi 7.
Thanks

And what have you tried so far?

So far
If the table exsist message to user that table is exsist and can not to make that table name or if not that table make that.
thanks.

OK, so whats the actual problem? According to that you've done it already.

In my prog user must make a table every month . always user do that. But maybi user forgaten that and dont make table or make table towith . Then program search mdb file , if table not exsist permet to make it and if exsist message to user and do not make table and exit.
Thanks

ok, then you arent making sense as when I asked you how far you got you said you had done it.

Excuse me, I anderstand English a little.:-O
In prog I use a form and comboBox . items of combo is the name of months .So when a user select a month prog must make a table.
But if user select and make that table before this cases bug in pro.
I try to use IF EXSIST sql statement for solving mistak , but that was new error.

Then when i ask you what code you've completed dont say you've done it :)

What code do you have, what have you tried, what errors do you get?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.