Module

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is actually a Module question and it's very general..
Could somone just help me understand what this code is doing?


stFrom = "from [bcbsfl\a4r6].QMS_tblQualityData QD LEFT JOIN
[bcbsfl\a4r6].QMS_tblQualityProvider QP on QD.ICNNO=QP.ICNNO "
stWhere = " WHERE receiptdate BETWEEN '" & begindate & "' and '" &
enddate & "' "


Thanks
 
It is building two strings to be added together (concatenated) to form a
query string.

By the way, the line with stWhere is probably going to fail if you are using
Access plus Jet (an .mdb file). If you are using an .adp then it would
probably work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Pass through Query 1
BUILDING UNION QUERY 9
Error 3075 4
Query Question 3
Weird Parameter problem 4
Date Calculations field 0
Me.filter between 2 dates 2
Long Date - Can't pull records accurately 3

Back
Top