kukiya
asked on
compact and repair
hi
I have a question.
I built an MFC application that connects to an access database by ODBC connection.
I also created MFC classes that inherits the CRecordset
class.
The problem is that when I delete all the records in a certain table, the size of the database does not get smaller.
I need to compact and repair the database.
My question is if there any way to update the size of the mdb database by SQL qurey or by any other way...
thanks alot !!!!
I have a question.
I built an MFC application that connects to an access database by ODBC connection.
I also created MFC classes that inherits the CRecordset
class.
The problem is that when I delete all the records in a certain table, the size of the database does not get smaller.
I need to compact and repair the database.
My question is if there any way to update the size of the mdb database by SQL qurey or by any other way...
thanks alot !!!!
ASKER
Thanks,
The point is taht I need to work with the ODBC connection
The point is taht I need to work with the ODBC connection
I was under the impression you can use Jet to access ODBC
ASKER
sorry but I'm not sure I understand.
I would like to know if I can execute the command to comapct and repair the mdb file whenever I would like via the visual c++ source code....
I would like to know if I can execute the command to comapct and repair the mdb file whenever I would like via the visual c++ source code....
what I am saying is that I don't think you can via MFC - you will have to go via Jet - did you look at the articles I posted?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://support.microsoft.com/support/kb/articles/Q230/5/01.ASP
http://support.microsoft.com/support/kb/articles/Q230/4/96.ASP
also see
http://support.microsoft.com/support/kb/articles/Q294/9/66.ASP