Enter Parameter Value message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a command button to open form and i am getting a
message to Enter Parameter Value. When i click ok the
form opens even if i don't enter anything. H0w can i get
rid of this message?
 
what is the code behind your command button?

I have a command button to open form and i am getting a
message to Enter Parameter Value. When i click ok the
form opens even if i don't enter anything. H0w can i get
rid of this message?
 
You need to look at the recordsource of your form and determine what is
missing....
the Enter Parameter Value msg should give you a clue where to look..

Damon
 
The code behind the command button is:


End Sub
Private Sub Open_fCallReview_Click()
On Error GoTo Err_Open_fCallReview_Click

Dim stDocName As String
Dim stLinkCriteria As String

stDocName = "fCallReview"
DoCmd.OpenForm stDocName, , , stLinkCriteria

Exit_Open_fCallReview_Click:
Exit Sub

Err_Open_fCallReview_Click:
MsgBox Err.Description
Resume Exit_Open_fCallReview_Click

End Sub
 
Back
Top