L
lulugrant_is_a_dog
I am trying to run a query based on the values in text boxes on a form
(Advanced_Search).
I have worked out the following embedded if statement to use as the
criteria:
IIf(IsNull([Forms]![Advanced_Search]![txtAlbumno]),[Album No],Like "*"
& [Forms]![Advanced_Search]![txtAlbumno] & "*")
The 'Like' part is where I have gone wrong because it doesn't work.
What have I done wrong?
Can anyone help me?
(Advanced_Search).
I have worked out the following embedded if statement to use as the
criteria:
IIf(IsNull([Forms]![Advanced_Search]![txtAlbumno]),[Album No],Like "*"
& [Forms]![Advanced_Search]![txtAlbumno] & "*")
The 'Like' part is where I have gone wrong because it doesn't work.
What have I done wrong?
Can anyone help me?