C
Cabby
The code below is associated with my Subform1. When Mainform opens I
get 2 warnings that I have
made invalid references to the property Form/Report. Once I get past the 2
warnings, everything seems to work fine.
How can I reference the Rowsource in Subform2 without the invalid
references?
TIA
Cabby
Private Sub Form_Current()
' This code created by Form Wizard.
Me.Parent![ctrlSubform2].Requery
If IsLoaded("Expenses_ByDate") Then
Me.Parent![ctrlSubform2].Form!Description.RowSource =
fProductList(Me!Payee)
Else
Me.Parent![ctrlSubform2].Form!Description.RowSource = fProductList()
End If
End Sub
get 2 warnings that I have
made invalid references to the property Form/Report. Once I get past the 2
warnings, everything seems to work fine.
How can I reference the Rowsource in Subform2 without the invalid
references?
TIA
Cabby
Private Sub Form_Current()
' This code created by Form Wizard.
Me.Parent![ctrlSubform2].Requery
If IsLoaded("Expenses_ByDate") Then
Me.Parent![ctrlSubform2].Form!Description.RowSource =
fProductList(Me!Payee)
Else
Me.Parent![ctrlSubform2].Form!Description.RowSource = fProductList()
End If
End Sub