Scenario: I have a list table being populated from a combobox. That list table can have up to 50 things listed in it(whats listed in the listbox is column names). Tricky part: I have a text file that matches one field in the sql table. X1,X2,X3 are the listbox items.
So i basically need:
select <line in text file>, from <blah> where id = object_id('table')
export <x2>,<x3>,<x4>,<x5>,<x6>,C:\Comma.text
I dont need help making the listbox, or the SQL connection.
Just basically how do i list my listbox in strings (no matter what the order selected is to represent whatever was selected in that order, and the SQL command to match based on textfile and export it.)
I know this one is going to be a pain. Thanks in advanice