Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I m facing a critical problem 'You Can not Open the table Table_Name for modification' on form load.There is one alter statement in which error throws.I googled and trying to resolve this problem but not satisfactory result and I want expert developers help.
Microsoft access 2000 and vb6 connectivity

Details of the Problem:-
I have created a recordset 'rs1' of 'X' table and I created a clone recordset 'rsClone'.and set a Hirerchical Flex grid with rs1 recordset.
Now,I am using the recorset filter option of 'rsClone' and at this time Flex Grid binds with the 'rsClone' recordset and according to the filter condition it gives the result.now I closed and destroyed the recordset using close and setting it to nothing.everything is working fine but again when the forms come to its load event it throws an error
'You Can not Open the table Table_Name for modification' and this error comes when second time I open the form and when it goes to the forms load event.Second time means When I first time open and run the vb project then only and if i close the project and run again first time it will work fine but later it gives the problem.I know about the error but I dont know why the binding still exist after closing and destroying the recordset

Pls if any body could help would be glad.

Thanks
Sukhen Dass
Posted
Updated 26-Oct-10 20:15pm
v3

1 solution

This error is not get resolved until and unless you manually export table structure and data from original access DB to new Access DB.

I faced the same problem and resolve the same using technique what i explain above.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900