The query is intended to be run via VBA but fails so I've copied it to the query window and it still gives me the same "system Resources Exceeded" error when run from there too.
I'd appreciate it if someone could tell me what I can do to improve this, I've tried adding and removing quotes and parentheses but I still get the same result.
SELECT auf_nr FROM tmptblTSExtract WHERE ((((tmptblTSExtract.[AUF_NR])=23066488) AND ((tmptblTSExtract.[AUF_POS])=2)) AND ((tmptblTSExtract.[TXT_Line_Code])=0));
Thanks in advance