Accessosaurusrex
Registered User.
- Local time
- Today, 03:46
- Joined
- Oct 18, 2010
- Messages
- 28
I have read through the forums and followed the data but cannot seem to make a simple daisychain. I have a single table (bcone) with 13 fields (job, customer, description, etc.). I simply want to allow a user to enter data in the first combo box (Job) using the drop down or typing in the data which then limits the results to the next combo box (Customer) to customers only as related to Job and so forth. When the user is done I want to click a "go" button and preview a report that I have generated based on the combo box inputs.
Using MS Office and a variety of different sources has me on the form with the combo boxes for the fields. It does not work at this time and the SQL information uses "HAVING" in lieu of "WHERE" as some of the forums has stated. If I change it to "WHERE" then I am missing an operator.
This is my current SQL for the query but I feel I am going the wrong way:
SELECT Bcone.Job, Bcone.Customer
FROM Bcone
GROUP BY Bcone.Job, Bcone.Customer
HAVING (((Bcone.Customer)=Forms!SearchForm1!Combo1));
I have downloaded several samples and like the way they work but with my limited ability I have been unable to accomplish this. If there is an easier way to do this please let me know.
Thanks!
Using MS Office and a variety of different sources has me on the form with the combo boxes for the fields. It does not work at this time and the SQL information uses "HAVING" in lieu of "WHERE" as some of the forums has stated. If I change it to "WHERE" then I am missing an operator.
This is my current SQL for the query but I feel I am going the wrong way:
SELECT Bcone.Job, Bcone.Customer
FROM Bcone
GROUP BY Bcone.Job, Bcone.Customer
HAVING (((Bcone.Customer)=Forms!SearchForm1!Combo1));
I have downloaded several samples and like the way they work but with my limited ability I have been unable to accomplish this. If there is an easier way to do this please let me know.
Thanks!