Dynamic table processing. (Array Variables)
Im trying to establish a script that processes a work record (a table of global fields) into various tables based on information contained in key fields.
I have a reference mapping table of layou::table::fieldnames rather than trying to build complex relationships I was trying to build a script to read in the neccessary mappings into an array and then begin processing the array.
I figuered I could do the neccessary finds and \use the found count to loop through reference records building my array.
I was going to use "repetition" numbers (based on variables) to assign values to the array.
Is there a function that can tell me the number of repetitions of a variable that exist? (Just curious as counter variables should tell me)
Has anyone done this before?
Im just bouncing this idea around at the moment. Any pitfalls you might see?