Dear All,
Thank you for a great forum
I have a query - EnAllocationOverdue
I have a form - MainScreen
The query runs off the form.
I use the following criteria within the query.
The problem is with the NOT LIKE.
The field in particular here is cmbEnStat if cmbEnStat is blank, no data is returned.
However if cmbEnStat has a value in it for example NOTICE it returns data with NOTICE excluded.
I have no idea why this is not working.
Any help will be greatly appreciated
Thank you
Thank you,
Kind regards
Triacona
Thank you for a great forum
I have a query - EnAllocationOverdue
I have a form - MainScreen
The query runs off the form.
I use the following criteria within the query.
Code:
WHERE (((UNI7LIVE_ENCASE.RECEPD)<=DateAdd("d",102,[UNI7LIVE_ENCASE].[RECEPD])) AND
((UNI7LIVE_ENCASE.ENSTAT) Not Like "*" & [Forms]![MainScreen].[cmbEnStat] & "*") AND
((UNI7LIVE_ENCASE.CLOSED) Is Null));
The problem is with the NOT LIKE.
The field in particular here is cmbEnStat if cmbEnStat is blank, no data is returned.
However if cmbEnStat has a value in it for example NOTICE it returns data with NOTICE excluded.
I have no idea why this is not working.
Any help will be greatly appreciated
Thank you
Thank you,
Kind regards
Triacona