Hello people,
I have a question
I have a table with financial bank records
I've made a query for example:
filter all records where accountnummber = "000001" or 000002 or 0000003 or etc etc
and I made a custom field called "type"
if it matches one of those accountnumbers the type = "budget 1"
it works fine,
but I have like 10 queries and all those queries has lots of criteria s (or or or etc)
is it possible to create a table where I put all query criteria s
and do a docmd.runsql?
I store the new transactions in a temporary table zo I can adjust the records and after that I merge the new records
do I need to do something like?
SELECT * from temptable where accountnumber =....
do while loop look at the table or something?
I want the criterias in a table and let vba look at that table and finish the SQL
I hope I make sence
Ralph