Hi,
I'm not sure which forum to post this in as it's about both queries and forms.
I have a form that I use to determine the Criteria to search my database. Currently the showallfields option is selected in the query. What I would like to do is have a checkbox for each field and allow the user to determine which fields they want to see.
I've tried this:
IIf([Forms]![SearchF]![ChkBoxMet]=0,Like "*" & [Forms]![SearchF]![Met] & "*",ColumnHidden[Query]![SearchQ]![Metabolite])
but it doesn't work. Is there a better way to do this? I'm happy to do a bit a code writing but I may end up asking a lot more questions!
Thanks,
Gavin.