View Full Version : Report based off selection box


klprophett
08-18-2010, 06:16 AM
Hello all, I was getting help by another individual, but I haven't heard back from them in a while so I figured I'd ask again with the update that I have.

So basically I have the a form called "Task List". In this form are different tasks related to events that I have created in a different table. On the form is a combobox that lists all the events from the "Events" table. I want the user to select an event from the combobox (EVentReport) and have a report generated that shows all the given Tasks Related to the event the user selected.

What will I need to do to have this function within the database?

pbaldy
08-18-2010, 07:05 AM
Is this what you're looking for?

http://www.baldyweb.com/wherecondition.htm

klprophett
08-18-2010, 07:16 AM
I tried using this method but I got an error saying the command wasn't created.

pbaldy
08-18-2010, 07:24 AM
What exactly is your code? What line produces the error?