RecordSource

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top