Info lost in Combo Box

J

jwr

I have an order details form that has text boxes as well as combo boxes.
The information entered into the text boxes remains when I close the form
and reopen; however, the info selected from the combo box when entering does
not display when I reopen form. Therefore, my queries based upon this form
do not display the info in the 2 combo boxes.

Suggestions please.
 
J

jwr

This is the code behind my box - Issuing Office - is as follows:

Private Sub Open_Form_Click()
On Error GoTo Err_Open_Form_Click

Dim stDocName As String
Dim stLinkCriteria As String

stDocName = "IssuingOffice"

stLinkCriteria = "[CustomerID]=" & Me![CustomerID]
DoCmd.OpenForm stDocName, , , stLinkCriteria

Exit_Open_Form_Click:
Exit Sub

Err_Open_Form_Click:
MsgBox Err.Description
Resume Exit_Open_Form_Click

End Sub


I am able to enter my information, but when I go back to look at the issuing
office information, the form is blank.
 
Top