S
sevilla10 via AccessMonster.com
I have form which I want to launch from VBA. I tested the form calling it
from the access menu and was able to roll through the table contents, editing
and adding as required.
I then added the following line to another form to call the code:
DoCmd.OpenForm "FAso", , , "[DS]='" & Me.DN & "'", , , Me.DN
The form correctly launched a few times but now it will not. Further, when I
open the form in access 2003, it does not show any records. I can get the
records to show by clicking ADD FILTER and then REMOVE FILTER in the
datasheet mode. I can also get the contents to show with this in ON OPEN FORM:
Me.FilterOn = True
Me.FilterOn = False
On closer inspection, if I open the form in FORM VIEW and click RECORDS/
FILTERS/ ADVANCED FILTERS I see a filter defined as “FAso1†but I cant remove
it. When I delete and try to save, I get
“The Microsoft Jet database engine could not find the object <name>. Make
sure the object exists and that you spell its name and the path name
correctly. (Error 3011)â€
This sounds like the object is corrupted somehow. Is there anyway to recover
from this? I spend the past 3hrs trying to find a way..
from the access menu and was able to roll through the table contents, editing
and adding as required.
I then added the following line to another form to call the code:
DoCmd.OpenForm "FAso", , , "[DS]='" & Me.DN & "'", , , Me.DN
The form correctly launched a few times but now it will not. Further, when I
open the form in access 2003, it does not show any records. I can get the
records to show by clicking ADD FILTER and then REMOVE FILTER in the
datasheet mode. I can also get the contents to show with this in ON OPEN FORM:
Me.FilterOn = True
Me.FilterOn = False
On closer inspection, if I open the form in FORM VIEW and click RECORDS/
FILTERS/ ADVANCED FILTERS I see a filter defined as “FAso1†but I cant remove
it. When I delete and try to save, I get
“The Microsoft Jet database engine could not find the object <name>. Make
sure the object exists and that you spell its name and the path name
correctly. (Error 3011)â€
This sounds like the object is corrupted somehow. Is there anyway to recover
from this? I spend the past 3hrs trying to find a way..