I have a query and it works great, and I can create a report from it. BUT it isn't user friendly. At this point, I go in change the query to the terms I want (there are different areas or Departments I want to run the report on) then run a report off it, make the report pretty and turn it in. The problem is I'm a temp, and I have no clue if the next person will know how to do that and what I don't know how to do is make it so it's an easy report.
Here's the code for the query:
SELECT tFMV.DEPT, tFMV.MainID, tFMV.AssetID, tFMV.DESCRIPTION, tFMV.Pics, Nz(tL.[Asset Description],"") AS [Asset Description]
FROM tblFixedAssetFMV AS tFMV LEFT JOIN tblFixedAssetListing AS tL ON tFMV.AssetID = tL.AssetID
WHERE (((tFMV.AREA)="CAN" Or (tFMV.AREA)="CAWH")) OR (((tFMV.DEPT)="NCK") AND ((tFMV.AREA)="PEA"))
ORDER BY tFMV.DEPT, tFMV.DESCRIPTION;
In this case I was looking for the area Candy or Candy Warehouse, but you may just as well want to look at bakery or many other things.
What I want is there to be a box that comes up and says "Which area do you want?" then a list box of the area, and then I'd like it to ask which Department you want from that area, with the ability to check as many or as few as you'd like. There are two tables, one for Area and one for Department and they have a relationship.
I know how to make a list box, but I don't know how to execute what I'm trying to do. . .
You don't need to tell me how to do it, I'd like a link to some sort of class, or some idiots guide, so I can do it myself, but the help I've found online so far just doesn't go to this level, or is so far past me that I'm clueless.
Thank you.