Enter Parameter Value message

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?
 
S

SPMU

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?
 
D

Damon Heron

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top