|
-
Sep 9th, 2000, 10:35 AM
#1
Thread Starter
New Member
I'm developing a database in Access 2000. I have the following problem:
I have, let's say, two forms created in Design View.
I want to have form2 showed when I click on a commandbutton in form1. In code-form:
Private Sub Command0_Click()
Forms("form2").Show
End Sub
However I keep getting this error that Access does not know form 2. More formally:
Run-time error '2450'
Microsoft Office can not find the form 'form2' referred to in a macro expression or Visual Basic code
Can anyone help me out here?
Thanks!!
Gertjan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|