Hello ,
I have created sql queries in my access database which provides data based on date fields entered by user. it works fine. I want to display the result in an excel sheet dynamically changing the date every week.
'SELECT JOBAllocations.Date, JOBAllocations.USERJOBNUM, JOBAllocations.PHASE, JOBAllocations.HOURS, JOBAllocations.DESC, JOBAllocations.ETRAKCODE, JOBAllocations.USERDETNUM
'FROM JOBAllocations
'WHERE (((JOBAllocations.Date) = [WEEK ENDING DATE MM/DD/YYYY]) And ((JOBAllocations.USERJOBNUM) = "1883") And ((JOBAllocations.PHASE) = "OFFICE"))
'ORDER BY JOBAllocations.PHASE;
this is the sql query generated in access how can i dynamically display it without opening access. I am hoping to get the data displayed and create a pivot table to display the data in excel
some help will be appreciated.
I have created sql queries in my access database which provides data based on date fields entered by user. it works fine. I want to display the result in an excel sheet dynamically changing the date every week.
'SELECT JOBAllocations.Date, JOBAllocations.USERJOBNUM, JOBAllocations.PHASE, JOBAllocations.HOURS, JOBAllocations.DESC, JOBAllocations.ETRAKCODE, JOBAllocations.USERDETNUM
'FROM JOBAllocations
'WHERE (((JOBAllocations.Date) = [WEEK ENDING DATE MM/DD/YYYY]) And ((JOBAllocations.USERJOBNUM) = "1883") And ((JOBAllocations.PHASE) = "OFFICE"))
'ORDER BY JOBAllocations.PHASE;
this is the sql query generated in access how can i dynamically display it without opening access. I am hoping to get the data displayed and create a pivot table to display the data in excel
some help will be appreciated.