zoomzoom02
New member
- Joined
- Jan 24, 2011
- Messages
- 2
- Programming Experience
- Beginner
I have a database that I am querying that has 48 columns. These columns mean various things to people that will be using them. Some people only need to see 6, while others need almost all of them.
What I want to do is create a 'preferences' form. Here, they can click a checkbox of each column they want to see. Then when they click the button to query the database they see only these things. I want this to also be stored to where if they close and then reopen the application, their preferences are saved.
As it stands now, I am querying an Access database and using a dataadapter/dataset to populate the datagrid to display my information.
First off, is there an easy way to allow for custom columns to pull into the query? All I can think of is doing a complicated web of if-then or case statements. I am a complete noob when it comes to datagrids.
Secondly, what is the easiest way to store 'preferences'?
What I want to do is create a 'preferences' form. Here, they can click a checkbox of each column they want to see. Then when they click the button to query the database they see only these things. I want this to also be stored to where if they close and then reopen the application, their preferences are saved.
As it stands now, I am querying an Access database and using a dataadapter/dataset to populate the datagrid to display my information.
First off, is there an easy way to allow for custom columns to pull into the query? All I can think of is doing a complicated web of if-then or case statements. I am a complete noob when it comes to datagrids.
Secondly, what is the easiest way to store 'preferences'?
Last edited: