hey,
i am trying to create a query to get result which linked to a value from a form.
the following is an example of a database...
[FieldA]
A1
A1
B2
C3
in the criteria box of Field A,
i have
switch( [FormA]![field1] = "1" , "A1", [FormA]![field1] = "2", "B2", [FormA]![field1] = "3", "C3". [FormA]![field1] = "ALL", ***** )
i have a question. i am not sure what i should put after [FormA]![field1] = "ALL", if i want to get all records from the database.
Would anyone please let me?
Thank you!!!
i am trying to create a query to get result which linked to a value from a form.
the following is an example of a database...
[FieldA]
A1
A1
B2
C3
in the criteria box of Field A,
i have
switch( [FormA]![field1] = "1" , "A1", [FormA]![field1] = "2", "B2", [FormA]![field1] = "3", "C3". [FormA]![field1] = "ALL", ***** )
i have a question. i am not sure what i should put after [FormA]![field1] = "ALL", if i want to get all records from the database.
Would anyone please let me?
Thank you!!!
Comment