ProgramError
Programmer
I have a form with a combobox where the user can select a department code.
I am trying to show only those records with a matching department code or all of them if the department code selected is 0.
I have tried the following criteria in the query wizard
iif([forms]![selectfrm].[Deptcode] <>0,[forms]![selectfrm].[Deptcode])
I chave been able to show all records by emitting the criteria and show matching records by putting in the criteria.
Any help would be appreciated.
Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.
I am trying to show only those records with a matching department code or all of them if the department code selected is 0.
I have tried the following criteria in the query wizard
iif([forms]![selectfrm].[Deptcode] <>0,[forms]![selectfrm].[Deptcode])
I chave been able to show all records by emitting the criteria and show matching records by putting in the criteria.
Any help would be appreciated.
Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.