Hi Michael
To be honest, I have absolutely no experience with the Access control wizards because I have steadfastly avoided using code-generating wizards for the last 20-plus years that I have been using Access!
I believe that the left-hand pane in your screenshot should display all the controls with values on your current form, and the right-hand pane should display all the fields in the RecordSource of the form you are opening. I cannot explain why, in your case,
the left-hand pane is blank.
However, I suggest you simply write the code yourself. It will be much more satisfying, because you will learn more about coding Access VBA, and also
your code will be much better that that generated by the wizard :-)
You will need to open the desired form using the DoCmd.OpenForm method. This method takes a number of
arguments (instructions about how to perform the task) and you can read all about them in the offline help, or here:
http://msdn.microsoft.com/en-us/library/office/ff820845.aspx
You will probably need to supply values for only the first and fourth arguments (FormName and
WhereCondition).
The FormName is straightforward - it is just the name of the form you want to open - for example,
"frmGuestInfo".
WhereCondition is a string expression which pre-applies a filter to the form you are opening - for example,
"EmployeeID=22". In your case, you will probably want to construct a string from the name of the field you want to match and some control on your current form that contains the value you want to match it to - For example:
"GuestID=" & Me.txtGuestID (where txtGuestID is the name of a textbox on your form).
Putting this together, you have a line of VBA code like this:
DoCmd.OpenForm "frmGuestInfo", , , "GuestID=" & Me.txtGuestID
Put this one line of code into your command button's event procedure like this:
Private Sub cmdShowGuestInfo_Click()
DoCmd.OpenForm "frmGuestInfo", , , "GuestID=" & Me.txtGuestID
End Sub
I hope this is enough to get you going - please post back if you need any further help or clarification.
Best wishes,
Graham