Dear zubin6220,
First, you need to put this code above in a new module not in the form module.
Second, this error may rise becasue the query behind the form may contain a parameter which ask you for it and you entered the value in a invalid data format. Please if the problem still exist after the first solution, post the query SQL behind the form.
Third, it may help if you post the Form_Open sub procedure in the form.
Cheers,
Main Topics
Browse All Topics





by: bluelizardPosted on 2004-12-02 at 00:46:23ID: 12723986
maybe you need to declare your function as public:
Public Function IsLoaded(ByVal strFormName As String) As Boolean
...
--bluelizard