G
Guest
I have two tables.
Table1 is constant has 20 set fields and is used to store daily data.
Table2(temp) is created on a daily basis from a crosstab(pivot) query of
another query pulling data from the back-end.
Table 2 records are to be appended to Table1 on a daily basis…here is the
problem:
Table1 with its set fields will always contain any and all fields Table2
will consist of but Table2 may not always have all the fields found in
Table1. Table2 will never have more or different fields then Table1 it will
just be missing fields if there are no values during the crosstab in those
pivoted fields. The fields that are missing should just stay null in table1
and only find and insert the fields that are existing.
Help…
Table1 is constant has 20 set fields and is used to store daily data.
Table2(temp) is created on a daily basis from a crosstab(pivot) query of
another query pulling data from the back-end.
Table 2 records are to be appended to Table1 on a daily basis…here is the
problem:
Table1 with its set fields will always contain any and all fields Table2
will consist of but Table2 may not always have all the fields found in
Table1. Table2 will never have more or different fields then Table1 it will
just be missing fields if there are no values during the crosstab in those
pivoted fields. The fields that are missing should just stay null in table1
and only find and insert the fields that are existing.
Help…