Quote:
2. Was the fellow who created this online system having moments of genius
or just drinking too much? Is this a common tactic? He sure handled the
dynamic creation of things but it at first glance is very problematic for
me. |
My initial reaction was pure genius but now I'm second guessing myself.
I can't comment on this being a common tactic.
The following comes to mind to get the data into a single record but I
can't say that it's as dynamic as the original SQL database.
Create table A with fields;
ID Registration
ID Field_g (global number field)
text / number / date / time fields as required to put the data into 1
record
Create a link from "ID Registration" & "ID Field" in table A to the
data tables' same fields.
For each registration number, import 1 record into the "ID
Registration" field in table A.
Replace the data in your text / number / date / time fields using the
above mentioned link by putting the appropriate value into the global
then doing your replace.
If all the field values can be stored in a text field then you could
make your side of the program dynamic also. All you need is a global
"All ID Fields_g" that has the "ID Field" of each field carriage return
separated.
Your script could then loop, setting the "ID Field_g" and replacing
into a text field.
You might even be able to let the user select the field order.
There should be a better way to do this but this is the best that comes
to mind right now.