I
Irongrip
Hi
I have a database where data is grouped by project name (ie. There is a
ProjectName field with the project name in it). That works fine. I am now
trying to add summary-creation functionality to my app.
I have set up a CheckedListBox containing all the project names, so that
users can select all the projects they want to include in the summary.
However, I have absolutely no idea how to determine what they've selected or
how to display the appropriate data.
I can make a summary of all projects with 'SELECT * FROM Main;' so now I'm
trying to get something along the lines of 'SELECT * FROM Main WHERE
ProjectName = Whatever The User Chooses;'
This would be easy if the user could only select one project at a time, but
in reality I want them to be able to select as many projects as they like.
Hopefully this all made sense. Anyone have any advice?
Thanks
I have a database where data is grouped by project name (ie. There is a
ProjectName field with the project name in it). That works fine. I am now
trying to add summary-creation functionality to my app.
I have set up a CheckedListBox containing all the project names, so that
users can select all the projects they want to include in the summary.
However, I have absolutely no idea how to determine what they've selected or
how to display the appropriate data.
I can make a summary of all projects with 'SELECT * FROM Main;' so now I'm
trying to get something along the lines of 'SELECT * FROM Main WHERE
ProjectName = Whatever The User Chooses;'
This would be easy if the user could only select one project at a time, but
in reality I want them to be able to select as many projects as they like.
Hopefully this all made sense. Anyone have any advice?
Thanks