RecordSource

  • Thread starter Thread starter Lynn
  • Start date Start date
L

Lynn

I am passing OpenArgs to a form and the OpenArgs
determines the recordsource of the form. Here is the code:

If Me.OpenArgs = "Entry" Then
Me.RecordSource = prB_frm_BudgetProject
ElseIf Me.OpenArgs = "Edit" Then
Me.RecordSource = prB_frm_BudgetProject_Edit
End If

Problem is that the form opens but there is no
recordsource. All of the fields come up with #Name?
 
Back
Top