Thank you for all of your help but I still seem to be having problems. I can get the second form to open but once again, the data doesn't go into the text boxes. I think I am confused as to what exactly is the process in the code that I have been working with you on. I thought I understood that on the first form, when I choose the user from the dropdown box, the information from the query for that user is held. When I click the "Continue" button the next form is opened and the data is supposed to be visible in the text boxes that I have put onto the form. I am sensing that this is where I have the issue.
From your last post it seems that the Case statement is where I bring over the data from Form 1 to Form 2. According to your info I put the data into the new module level variables that I set up. Am I missing a step to have the text boxes on the form refernce the new variables that were declared? I am beginning to think that I am going in circles. Below is the code for the two forms at this point. What am I missing?
Form 1:
Option Compare Database
Option Explicit
Private mstrOpenArgs As String '
Private Sub Close_Click()
On Error GoTo Err_Close_Click
DoCmd.Close
Exit_Close_Click:
Exit Sub
Err_Close_Click:
MsgBox Err.Description
Resume Exit_Close_Click
End Sub
Private Sub cmbUsers_AfterUpdate()
mstrOpenArgs = cmbUser.Column(0) & "~" & _
cmbUser.Column(1) & "~" & _
cmbUser.Column(2) & "~" & _
cmbUser.Column(3) & "~" & _
cmbUser.Column(4) & "~" & _
cmbUser.Column(5) & "~"
'Column(0) = User_ID, Column(1) = U_ID, Column(2) = Dept_ID, Column(3) = Dept_Name, Column (4) = First_Name, Column(5) = Last_Name
End Sub
Private Sub Continue_Click()
DoCmd.OpenForm "frmPaymentErrorEntry", , , , , , mstrOpenArgs
End Sub
Form 2:
Option Compare Database
Option Explicit
Private mstrUID As String
Private mintUserID As Integer
Private mintDeptID As Integer
Private mstrDeptName As String
Private mstrFirstName As String
Private mstrLastName As String
Private Sub Add_Record_Click()
On Error GoTo Err_Add_Record_Click
DoCmd.GoToRecord , , acNewRec
Exit_Add_Record_Click:
Exit Sub
Err_Add_Record_Click:
MsgBox Err.Description
Resume Exit_Add_Record_Click
End Sub
Private Sub Refresh_Click()
On Error GoTo Err_Refresh_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
Exit_Refresh_Click:
Exit Sub
Err_Refresh_Click:
MsgBox Err.Description
Resume Exit_Refresh_Click
End Sub
Private Sub ErrorID_AfterUpdate()
' Disable the Correct_Acct_Num text box if the user selected "Mispost" Error type.
Const conMispost = 1
Const conEncode = 4
If Me![Error_ID] = conMispost Then
Me![Correct_Acct_Num].Enabled = True
Else
Me![Correct_Acct_Num].Enabled = False
End If
If Me![Error_ID] = conEncode Then
Me![Correct_Amt].Enabled = True
Else
Me![Correct_Amt].Enabled = False
End If
End Sub
Private Sub Form_Load()
Dim strOpenArgs As String
Dim intPos As Integer
Dim intCounter As Integer
Dim strTemp As String
If Not IsNull(OpenArgs) Then
Do While Len(strOpenArgs) > 0
intPos = InStr(strOpenArgs, "~"

'Find first ~
strTemp = Left$(strOpenArgs, intPos + 1)
Select Case intCounter
Case 0 'User_ID
mintUserID = strTemp
Case 1 'U_ID
mstrUID = strTemp
Case 2 'Dept_ID
mintDeptID = strTemp
Case 3 'Dept_Name
mstrDeptName = strTemp
Case 4 'First_Name
mstrFirstName = strTemp
Case 5 'Last_Name
mstrLastName = strTemp
End Select
intCounter = intCounter + 1
Loop
End If
' Enabled the Activity dropdown if the users department is "Account Research"
If Me.txtDeptID = "1" Then
Me.Activity_ID.Enabled = True
Else
Me.Activity_ID.Enabled = False
End If
End Sub
Private Sub Form_Open(Cancel As Integer)
dataEntry = True
Me![Correct_Acct_Num].Enabled = False
Me![Correct_Amt].Enabled = False
Me![Activity_ID].Enabled = False
End Sub
Private Sub Close_Form_Click()
On Error GoTo Err_Close_Form_Click
DoCmd.Close
Exit_Close_Form_Click:
Exit Sub
Err_Close_Form_Click:
MsgBox Err.Description
Resume Exit_Close_Form_Click
End Sub