When I use the show method I rec'd this error in vb:
Method Or data member not found
I am using Access 2000.
This is what I have in the reference library:
MS Access 9.0 object library
MS ActiveX Data Objects 2.1 library
Ms Outloook 9.0 Object library
MS Office 9.0 Object library
yes VB is complaing that the object form_name doesn't exist
what is form_name is it a form object
The form_name is the name of an actual form. The spelling is correct, I just can't understand why this is not available.
Perhaps you can give me an sample code to display a form called sample_start using show method. This will help me to understand it.
Well, if form_name is the actual name of the form, VBA in Access will expose the form as form_form_name (adds the "form_" prefix). However, I don't think that the show method (or hide, for that matter) is available in vba.
I would use:
where name is the name of the form.
You could also use Forms("name") to get at a form that was already loaded.