Hi guys, something funny here.
I have an application designed in ms access 2000 but running in access 2003.I have designed a toolbar with the buttons to open forms.
I have functions that open the form. Here is a sample function
"my Form" being the name of the form i want opened.
But when i click on the button access generates the message
"Sorry access has encountered a problem and needs to close"
This is happening on some machines running the application but others are Ok
All help appreciated.
Cheers
I have an application designed in ms access 2000 but running in access 2003.I have designed a toolbar with the buttons to open forms.
I have functions that open the form. Here is a sample function
Code:
Public Function openMyForm()
On Error Resume Next
With DoCmd
.SelectObject acForm, Screen.ActiveForm.Name
.Close acForm, Screen.ActiveForm.Name
.openForm "my form"
End With
End Function
But when i click on the button access generates the message
"Sorry access has encountered a problem and needs to close"
This is happening on some machines running the application but others are Ok
All help appreciated.
Cheers