B
brett
Here is my SQL statement:
SELECT IMAGING_BATCH_T.SCAN_OPER, IMAGING_BATCH_T.SCAN_DT,
IMAGING_BATCH_T.PROCESS_NM,
IMAGING_BATCH_T.PAGES_PER_BATCH_CNT,
[Contact/Division].Contract, [Contact/Division].Division
FROM IMAGING_BATCH_T INNER JOIN [Contact/Division] ON
IMAGING_BATCH_T.PROCESS_NM = [Contact/Division].Process_NM
WHERE (((IMAGING_BATCH_T.SCAN_OPER)=UserIDStyle()) AND
((IMAGING_BATCH_T.SCAN_DT)=[Enter the date (mm/dd/yy):]));
What I am having problems with is I have one of the query
fields calling a module that I wrote. The problem is that
the module is being called twice instead of once; what
bugs me is I made the same query in Access 97 and it only
runs once at the end of the query but in Access 2000, the
module is being run twice (once at the beginning and
another time at the end). I originally just converted the
Access 97 database to the Access 2000 database and I
noticed this started happening in my queries. I created
another query within Access 2000 doing the same thing and
it reacts the same way. How can I stop this module from
being run twice? Am I calling it wrong in the query?
SELECT IMAGING_BATCH_T.SCAN_OPER, IMAGING_BATCH_T.SCAN_DT,
IMAGING_BATCH_T.PROCESS_NM,
IMAGING_BATCH_T.PAGES_PER_BATCH_CNT,
[Contact/Division].Contract, [Contact/Division].Division
FROM IMAGING_BATCH_T INNER JOIN [Contact/Division] ON
IMAGING_BATCH_T.PROCESS_NM = [Contact/Division].Process_NM
WHERE (((IMAGING_BATCH_T.SCAN_OPER)=UserIDStyle()) AND
((IMAGING_BATCH_T.SCAN_DT)=[Enter the date (mm/dd/yy):]));
What I am having problems with is I have one of the query
fields calling a module that I wrote. The problem is that
the module is being called twice instead of once; what
bugs me is I made the same query in Access 97 and it only
runs once at the end of the query but in Access 2000, the
module is being run twice (once at the beginning and
another time at the end). I originally just converted the
Access 97 database to the Access 2000 database and I
noticed this started happening in my queries. I created
another query within Access 2000 doing the same thing and
it reacts the same way. How can I stop this module from
being run twice? Am I calling it wrong in the query?