G
Guest
Hello,
I have a table with 28 columns, each column has different number of rows of
data.
I need to find a value in this table, and return the column name of where
the matching string is found.
For example, if value "abc" is found in the 20th column which has a column
named of "XYZ", I want to create a function that will return "XYZ"
I have code iCol = rst.Fields.Count to find the number of columns in the
table, but I don't know how to loop through each column in the table, then
loop through each row to find the value. Or can I use Find method to search
the entire table, and return the column name of where the value is found?
Thanks in advance
I have a table with 28 columns, each column has different number of rows of
data.
I need to find a value in this table, and return the column name of where
the matching string is found.
For example, if value "abc" is found in the 20th column which has a column
named of "XYZ", I want to create a function that will return "XYZ"
I have code iCol = rst.Fields.Count to find the number of columns in the
table, but I don't know how to loop through each column in the table, then
loop through each row to find the value. Or can I use Find method to search
the entire table, and return the column name of where the value is found?
Thanks in advance