Hi, I want to delete one of the forms by using VB code so the form will be deleted and recreated as the user selects different options in the access database to present different set of data. However, for some reason, very strange too, that I keep getting the message that Access cannot do the deletion at this time and it advises me to stop the code and reset it again to try to delete the form. but the thing is, the form IS deleted by the time the error occur. And sometimes if i just add another form with the same name, it would work just fine... I'm deleting the form by this line:
Docmd.DeleteObject acForm, "form_name"
So now I'm very confused!!!
Can anyone share any ideas? Thanks in Advance.
Docmd.DeleteObject acForm, "form_name"
So now I'm very confused!!!
Can anyone share any ideas? Thanks in Advance.