DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Pascal and Delphi (http://www.daniweb.com/forums/forum124.html)
-   -   Exsist table in mdb file (http://www.daniweb.com/forums/thread159952.html)

khoshBlagh Nov 29th, 2008 12:51 am
Exsist table in mdb file
 
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

LizR Nov 29th, 2008 5:27 am
Re: Exsist table in mdb file
 
And what have you tried so far?

khoshBlagh Nov 29th, 2008 6:18 am
Re: Exsist table in mdb file
 
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.

LizR Nov 29th, 2008 6:29 am
Re: Exsist table in mdb file
 
OK, so whats the actual problem? According to that you've done it already.

khoshBlagh Nov 30th, 2008 2:48 am
Re: Exsist table in mdb file
 
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

LizR Nov 30th, 2008 5:30 am
Re: Exsist table in mdb file
 
ok, then you arent making sense as when I asked you how far you got you said you had done it.

khoshBlagh Dec 1st, 2008 2:29 am
Re: Exsist table in mdb file
 
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.

LizR Dec 1st, 2008 7:29 am
Re: Exsist table in mdb file
 
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?


All times are GMT -4. The time now is 8:40 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC