Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36990

Forum Post: Parameter request ProvideX ODBC SQL

$
0
0
I'm doing a Pass Through Query using Microsoft Access, the SQL statement below works fast and fine. Is there a way to request the date parameters from the user in the WHERE statement each time the query is run instead of the parameters being hard coded? I created the SQL statement using Crystal Reports and copied it to Access SELECT "AR_InvoiceHistoryHeader"."InvoiceNo", "AR_InvoiceHistoryHeader"."HeaderSeqNo", "AR_InvoiceHistoryHeader"."InvoiceType", "AR_InvoiceHistoryHeader"."InvoiceDate", "AR_InvoiceHistoryHeader"."BillToName" FROM "AR_InvoiceHistoryHeader" "AR_InvoiceHistoryHeader" WHERE ("AR_InvoiceHistoryHeader"."InvoiceDate">={d '2015-07-19'} AND "AR_InvoiceHistoryHeader"."InvoiceDate"<={d '2015-07-25'})

Viewing all articles
Browse latest Browse all 36990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>