G
Guest
I have a networked application that links to another program's data files and
appends updated information into my networked Access application. This
networked application is split. The problem I am having is suddenly when
running Append Queries I now get an error "Invalid Argument". These Append
queries have run for the last 6 months without a problem and I do not know
what has changed, (possibly a corrupted Dll file)? This error seems to be on
all of the computers on the network including the server (Frontend in a
different directory to run tests on updates). The help indicates that “You
tried to perform an operation that involves a routine in a DLL, and one of
the arguments to the routine is invalid. Check your entry to make sure you
have specified the correct arguments, and then try the operation again.
This error also occurs when you attempt to use mutually exclusive constants
in an argument to a method, such as specifying both dbConsistent and
dbInconsistent in the options argument to the OpenRecordset method.â€
Code ran for update query to get this error:
INSERT INTO PATIENTS ( CDC_NBR, LASTMOVE, UNIT, LNAME, ALLERGY )
SELECT PATIENT.CDC_NBR, PATIENT.LASTMOVE, PATIENT.UNIT, PATIENT.LNAME,
PATIENT.ALLERGY
FROM PATIENT
WHERE (((PATIENT.UNIT)<>"Gone"));
All table and field names are correct.
As well as this code:
INSERT INTO RX1 ( CDC_NBR, RX_NO, [DATE], STOP, DRUG, IDRUG, QTY, SIG1,
SIG2, DR, START )
SELECT Rx.CDC_NBR, Rx.RX_NO, Rx.DATE, Rx.STOP, Rx.DRUG, Rx.IDRUG, Rx.QTY,
Rx.SIG1, Rx.SIG2, Rx.DR, Rx.START
FROM Rx;
I checked and found nothing that I could identify to be a problem. Note that
all Delete queries and Update queries continue to work without errors.
Thank you,
Dennis
appends updated information into my networked Access application. This
networked application is split. The problem I am having is suddenly when
running Append Queries I now get an error "Invalid Argument". These Append
queries have run for the last 6 months without a problem and I do not know
what has changed, (possibly a corrupted Dll file)? This error seems to be on
all of the computers on the network including the server (Frontend in a
different directory to run tests on updates). The help indicates that “You
tried to perform an operation that involves a routine in a DLL, and one of
the arguments to the routine is invalid. Check your entry to make sure you
have specified the correct arguments, and then try the operation again.
This error also occurs when you attempt to use mutually exclusive constants
in an argument to a method, such as specifying both dbConsistent and
dbInconsistent in the options argument to the OpenRecordset method.â€
Code ran for update query to get this error:
INSERT INTO PATIENTS ( CDC_NBR, LASTMOVE, UNIT, LNAME, ALLERGY )
SELECT PATIENT.CDC_NBR, PATIENT.LASTMOVE, PATIENT.UNIT, PATIENT.LNAME,
PATIENT.ALLERGY
FROM PATIENT
WHERE (((PATIENT.UNIT)<>"Gone"));
All table and field names are correct.
As well as this code:
INSERT INTO RX1 ( CDC_NBR, RX_NO, [DATE], STOP, DRUG, IDRUG, QTY, SIG1,
SIG2, DR, START )
SELECT Rx.CDC_NBR, Rx.RX_NO, Rx.DATE, Rx.STOP, Rx.DRUG, Rx.IDRUG, Rx.QTY,
Rx.SIG1, Rx.SIG2, Rx.DR, Rx.START
FROM Rx;
I checked and found nothing that I could identify to be a problem. Note that
all Delete queries and Update queries continue to work without errors.
Thank you,
Dennis