matrixindicator
IS-IT--Management
Up to now I create two queries. They doing the same except that one is running "titles" and the other "medium" depending on the users choise in the form.
To avoid future trouble I like to get these two in one.
For this I need to say if in the combobox title is a value, take this value as criteria, set nothing as criteria, because it is an ID field, numeric, I can't use an empty string ""
code of course is not working, how to, any ID ?
To avoid future trouble I like to get these two in one.
For this I need to say if in the combobox title is a value, take this value as criteria, set nothing as criteria, because it is an ID field, numeric, I can't use an empty string ""
Code:
[title ID]
crit : IIf([Forms]![frmTestView]![cbxTitles] Is Null;CInt("");[Forms]![frmTestView]![cbxTitles])
code of course is not working, how to, any ID ?