Hi all,
could someone help with this please..
I am querying a database in Microsoft Query and i have set the parameter to AlmSource. So that if User enter particular Almsource , it will calls up all the data according to the Almsource. But however i need it to return all the value unless a parameter is selected.
Thanks in advance
could someone help with this please..
I am querying a database in Microsoft Query and i have set the parameter to AlmSource. So that if User enter particular Almsource , it will calls up all the data according to the Almsource. But however i need it to return all the value unless a parameter is selected.
Code:
SELECT `DAILY(WEEKLY)`.ACTIONLIST, `DAILY(WEEKLY)`.ALMDESC, `DAILY(WEEKLY)`.ALMHIS_KEY, `DAILY(WEEKLY)`.ALMID, `DAILY(WEEKLY)`.ALMSOURCE, `DAILY(WEEKLY)`.ALMTM, `DAILY(WEEKLY)`.EQPSTATUS, `DAILY(WEEKLY)`.NOTIFYLIST
FROM `D:\Users\sgg90341\Documents\Database13.accdb`.`DAILY(WEEKLY)` `DAILY(WEEKLY)`
WHERE (`DAILY(WEEKLY)`.ALMSOURCE Like ?)