I am using a form called EnterData to input data into a table and I am having issues getting the Form to link properly. I open EnterData in another form called NewReport. In NewReport I use the following code:

Code:
Dim stDocName As String
Dim stLinkCriteria As String

stDocName = "EnterData"
Forms!EnterData.RecordSource = "SELECT * FROM Employee10"
DoCmd.OpenForm stDocName,
...