M
Mike Wilson
Hi
I have a simple question (to anybody who isn't me)
I am launching a form called Shipping from another form
called Completed with the following link criteria;
Private Sub Shpd_Click()
On Error GoTo Err_Shpd_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Shipping"
stLinkCriteria = "[SOrder_CustRef]=" & "'" & Me![ONo]
& "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Shpd_Click:
Exit Sub
End Sub
If there is no match in the Shipping form, I get a blank
form with no fields, not even an unbound one.
What I want to display is a message box stating that
"No Record is Yet Available"
I would be grateful if someone could point me in the
right direction.
Thank you
Mike
I have a simple question (to anybody who isn't me)
I am launching a form called Shipping from another form
called Completed with the following link criteria;
Private Sub Shpd_Click()
On Error GoTo Err_Shpd_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Shipping"
stLinkCriteria = "[SOrder_CustRef]=" & "'" & Me![ONo]
& "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Shpd_Click:
Exit Sub
End Sub
If there is no match in the Shipping form, I get a blank
form with no fields, not even an unbound one.
What I want to display is a message box stating that
"No Record is Yet Available"
I would be grateful if someone could point me in the
right direction.
Thank you
Mike