Hey guys
So im trying to make a duplicate of the Northwind sample database as a learning task to help me get better at using Access and VBA.
I have run into an issue with:
The DLookupStringWrapper is returning a "Compile Error: Sub or Function not defined" error, any ideas why?
Cheers in advance for any help
-Rhys
So im trying to make a duplicate of the Northwind sample database as a learning task to help me get better at using Access and VBA.
I have run into an issue with:
Code:
Private Sub InitFilterItems()
Me.lstReportFilter.RowSource = DLookupStringWrapper("[Filter Row Source]", "Sales Reports", "[Group By]='" & Nz(Me.lstSalesReports) & "'")
Me.lstReportFilter = Null
End Sub
The DLookupStringWrapper is returning a "Compile Error: Sub or Function not defined" error, any ideas why?
Cheers in advance for any help
-Rhys