0
Reply

string (jagged arrays)

rick.johnston

rick.johnston

May 3 2004 4:07 PM
1.4k
trying to dynamically create string array (jagged array) of size [3] and those 3 arrays will be of varying size in each one of the string arrays it contains. I do not know until user selects options at runtime what the sizes will be except over all array will only contain 3 new string arrays inside itself. So basically in plain english I'll have an eaxmple would be as follows in which all array positions would be related. Import filename: "test" contains n amount of tables to import and the table(s) contain n amount of columns. So if test.mdb had 4 tables to choose from and test2 had 8 tables to choose from I would want an array to depict the following: User selected table 1, 2, 4 from file #1 [0] test [0] table1 [1] table2 [2] table4 [0] coulmn name table1 [1] null value no coulmn name selected for table2 [2] coulmn name table4 [1] test2 [0] table2 [1] table4 [2] table5 [3] table6 [4] table7 [0] coulmn name table2 [1] null value no coulmn name selected for table4 [2] coulmn name table5 [3] coulmn name table6 [4] coulmn name table7 I'm sure this can be done but my syntax on the array is incorrect it builds but when I go to add values with SetValue(value, file, tbl); file and tbl are int and represent the index number in the checkbox list. Thanks, Rick...

Next Recommended Forum