Please can anyone help me. I am trying to supply two variable input dates to an SQL Specific passthrough query from and Access 97 Database.
The table is on a remote server.
This is the query I have so far it works if the table is in my database but not when I use the linked table.
select ReceiptID,ReceiverMessageID,Status,OriginatingProcessID,SupplierReferenceNumber,StatusMessageDate,ExceptionText From tblInQueuee537Receipt where status = 'failure' and StatusMessageDate >= [Enter Date From] and <[Enter Date To]
I want to be able to input two dates from and to to run the query and would like it to prompt me for these.
Thank you.
The table is on a remote server.
This is the query I have so far it works if the table is in my database but not when I use the linked table.
select ReceiptID,ReceiverMessageID,Status,OriginatingProcessID,SupplierReferenceNumber,StatusMessageDate,ExceptionText From tblInQueuee537Receipt where status = 'failure' and StatusMessageDate >= [Enter Date From] and <[Enter Date To]
I want to be able to input two dates from and to to run the query and would like it to prompt me for these.
Thank you.