harrymossman
Technical User
How can I go about de-normalizing a table? I want to take records from a detail table and string them together to put in spreadsheet cells.
The table has a key (integer) related to the master table, a "counties" field, and other fields I don't need.
In the spreadsheet, I want a row for each master record, with the appropriate counties for that record strung together, separated by commas.
It seems like a tc script that somehow loops through records with matching keys, putting them together with string( ) would do the trick. However, I have done only a few simple tc, script, and string( ) codes. So I don't quite know how to start. It's easy to find information about normalizing but not de-normalizing.
Harry
The table has a key (integer) related to the master table, a "counties" field, and other fields I don't need.
In the spreadsheet, I want a row for each master record, with the appropriate counties for that record strung together, separated by commas.
It seems like a tc script that somehow loops through records with matching keys, putting them together with string( ) would do the trick. However, I have done only a few simple tc, script, and string( ) codes. So I don't quite know how to start. It's easy to find information about normalizing but not de-normalizing.
Harry