G
Guest
I have a Form1 with a tab control. On one of the tabs there is a Form2a + a
subForm2b. Form2a is based on a query with a permanent criteria filter.
The user performs a function on each of the records displayed by Form2a.
After the user function, the form is requeried using VBA code
(Me.Form.Requery)
The process works great until there is only 1 record remaining. Then the
{Me.Form.Requery} VBA action causes Access to give the obligatory {... going
to shut down...} message and shuts down.
NOTE: If I comment out the {Me.Form.Requery} in the VBA code and execute a
{Remove Filter/Sort} from the {Menu} bar, Access does not shut down.
Does anyone know what is going on here?
I have tried using the DoCmd.RunCommand acCmdRemoveFilterSort in the VBA
code but Access still shuts down.
subForm2b. Form2a is based on a query with a permanent criteria filter.
The user performs a function on each of the records displayed by Form2a.
After the user function, the form is requeried using VBA code
(Me.Form.Requery)
The process works great until there is only 1 record remaining. Then the
{Me.Form.Requery} VBA action causes Access to give the obligatory {... going
to shut down...} message and shuts down.
NOTE: If I comment out the {Me.Form.Requery} in the VBA code and execute a
{Remove Filter/Sort} from the {Menu} bar, Access does not shut down.
Does anyone know what is going on here?
I have tried using the DoCmd.RunCommand acCmdRemoveFilterSort in the VBA
code but Access still shuts down.