D
Daveo
Hi there,
I have a form which contains the following controls:
cboHealthBoard - (Corresponds to [HealthBoardNo] field in query)
cbo1stPlacement - (Corresponds to [1stPlacement] field in query)
cbo2ndPlacement - (Corresponds to [2ndPlacement] field in query)
cbo3rdPlacement - (Corresponds to [3rdPlacement] field in query)
I want to pass the values of these fields to the query criteria whether
a user selects any combination of them and leaves the others null.
I want to use "DoCmd.OpenReport "rptName",,strWhere" but I'm having
trouble constructing my strWhere.
Any help would be much appreciated.
Thanks - David
I have a form which contains the following controls:
cboHealthBoard - (Corresponds to [HealthBoardNo] field in query)
cbo1stPlacement - (Corresponds to [1stPlacement] field in query)
cbo2ndPlacement - (Corresponds to [2ndPlacement] field in query)
cbo3rdPlacement - (Corresponds to [3rdPlacement] field in query)
I want to pass the values of these fields to the query criteria whether
a user selects any combination of them and leaves the others null.
I want to use "DoCmd.OpenReport "rptName",,strWhere" but I'm having
trouble constructing my strWhere.
Any help would be much appreciated.
Thanks - David