M
Mariah
Hello, any suggestions are appreciated!
I imported tables from our media database into our membership database. I
was going to combine the information so that I could streamline orders with
lookup fields but my supervisor didn't like it so... I went back to the
media database and now NONE of the form buttons are working.
The forms open, and all the reports, queries, and tables open without
incident.
However, when I click any button on any form (to call up a report, query or
another form), I receive an error: "Invalid Procedure Call or Arguement".
I tried creating a new form from scratch but the buttons still don't work.
The other database, our main database, works just fine. All is well on that
end, both databases are stored on the same computer network.
When the debugger opens, there is no code showing. There is an area labeled
"immediate" on the bottom of the screen. I do see the code if I open the
project and click on the forms. Here is a sample:
Private Sub cmdMedia_Click()
On Error GoTo Err_cmdMedia_Click
Dim stDocName As String
stDocName = "rptMedia"
DoCmd.OpenReport stDocName, acPreview
Exit_cmdMedia_Click:
Exit Sub
Err_cmdMedia_Click:
MsgBox Err.Description
Resume Exit_cmdMedia_Click
End Sub
On another note, I am of the mind that everything we do should be in one
database and our switchboard should make it easy for people to access any
information needed. Is this a standard and prudent viewpoint or should there
be separation? These forms are working well on the main database but I guess
I have to accept that my supervisor has the final say...
I imported tables from our media database into our membership database. I
was going to combine the information so that I could streamline orders with
lookup fields but my supervisor didn't like it so... I went back to the
media database and now NONE of the form buttons are working.
The forms open, and all the reports, queries, and tables open without
incident.
However, when I click any button on any form (to call up a report, query or
another form), I receive an error: "Invalid Procedure Call or Arguement".
I tried creating a new form from scratch but the buttons still don't work.
The other database, our main database, works just fine. All is well on that
end, both databases are stored on the same computer network.
When the debugger opens, there is no code showing. There is an area labeled
"immediate" on the bottom of the screen. I do see the code if I open the
project and click on the forms. Here is a sample:
Private Sub cmdMedia_Click()
On Error GoTo Err_cmdMedia_Click
Dim stDocName As String
stDocName = "rptMedia"
DoCmd.OpenReport stDocName, acPreview
Exit_cmdMedia_Click:
Exit Sub
Err_cmdMedia_Click:
MsgBox Err.Description
Resume Exit_cmdMedia_Click
End Sub
On another note, I am of the mind that everything we do should be in one
database and our switchboard should make it easy for people to access any
information needed. Is this a standard and prudent viewpoint or should there
be separation? These forms are working well on the main database but I guess
I have to accept that my supervisor has the final say...