Hi Experts,
Happy New Year!!! I have a query question and do not know if this is possible to do, if it is then how? I have a query that has two different fields, one is "case#" and other one is "File#", is any way I can combine this two fields into one field like an Expr field? The reason I'm ask is because users need to enter either field to print out a same report, instead create two different queries, I want to merge two fields into one field in one query, can anyone help?
Thanks
Parameters [CaseOrFile] integer;
SELECT *
FROM yourTable
WHERE [Case#] = [CaseOrFile] OR [File#] = [CaseOrFile]
This would popup an inputbox when the user runs the query, and assumes that the values in the Case# and File# columns are numeric.