I will have a listbox or some other control that will have all the fields of a query. I want the users to be able to choose the fields they want, then those fields will be the fields in the dbgrid1.
In other words, if query 1 has 40 fields and the user chooses only 3 from the listbox then dbgrid1 will have only those 3 fields. I don't want the DBGrid to show blank columns. I need good instructions on how to do this.
Please leave a message if you need clarification.