Considering there are 4 departments...c urrent solution is:
- there is one query that returns the date for each department in turn (total 4 queries)
- on the form there is a text box where one selects the date/interval for which they want to view the data (included in the criteria of all 4 queries)
- there are four buttons (one for each department) linked to the respective query and the text box
- buttons are set to export...
User Profile
Collapse
Profile Sidebar
Collapse
alecs0101
Last Activity: Aug 18 '14, 04:01 PM
Joined: Aug 18 '14
Location:
-
Query based in Check Box
Hi,
Noob alert!!!
Consider you have a table and one of the columns is a date, but not records have it depending on their status.
Date is filled in only at a certain step....
Now consider you would wish to create a query that would show either only records that have the date filled in or all values (regardless if date is there or not).
I would presume the easiest way would be to use... -
:) I have a logical grasp but am barely a beginner with access...functi ons and VBA ....brrr.... works only after first documenting and seeing examples from others ... and then not always
Now comes the "dumb/noobish" question, how/where can I incorporate --- Me."combo_box_n ame".Column(1)t he file name --- in the file name? :)
I presume that in order for you to answer, you would first need some extra details....if...Leave a comment:
-
Export Query to .xlsx file and set name based on Combo-box value
Hi,
Consider you would have to extract daily reports showing orders received by department (consider 5 departments) and you would need to export them to files named after each department (Dep1.xlsx, Dep2.xlsx, and so on).
How I solved this was to have a query for each department and also create an export button for each query (date is taken from a text box). This way each button runs the query for a particular department...
No activity results to display
Show More
Leave a comment: