Is there a way to change the datasource of a ListBox or ComboBox dynamically. By that I mean having an array holding the names of a data tables like "dtUnitType", "dtModel", etc. Then setting the datasource to the value of one of the array items chosen by the user. I could use a case statement, but I'm trying to make this as dynamic as possible.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.