Hi:
This is the SQL data table I am using for my report with a couple of sample rows.
Document Field Name FieldValue (memo)
Salesorder Salesman 1
Check Salesman 24
Many different document types, many field names, many identifiers.
The identifiers are keys into other tables that hold the description.
Salesman
Key Name
1 Joe Jones
45 Mary Smith
The report needs to look like this:
Document Field Name Name
Salesorder Salesman Joe Jones
Check Salesman Mary Smith
I was going to build an array first to populate the identifier but I don't know the upper bound and it changes over time - so the salesman table shrinks and grows. Once I get the array, each field would have to have a for loop which might make this take forever.
This is the SQL data table I am using for my report with a couple of sample rows.
Document Field Name FieldValue (memo)
Salesorder Salesman 1
Check Salesman 24
Many different document types, many field names, many identifiers.
The identifiers are keys into other tables that hold the description.
Salesman
Key Name
1 Joe Jones
45 Mary Smith
The report needs to look like this:
Document Field Name Name
Salesorder Salesman Joe Jones
Check Salesman Mary Smith
I was going to build an array first to populate the identifier but I don't know the upper bound and it changes over time - so the salesman table shrinks and grows. Once I get the array, each field would have to have a for loop which might make this take forever.