G
Guest
Hi, I'm a novice at this so please help.
I'm trying to write a piece of code in Access VB to update a table with the
results of a query, and create new columns, rows for new datatypes that
results from the query.
E.G. If I had a table with columns
FieldTitle, FP1, FP2
and rows:
Y, 8532, 8428
N, 234, 325
next time I run the query it brings back values for the next fiscal period:
Y, 8654
N, 210
N/A, 25
How do I updated in code so that the table would be:
FieldTitle, FP1, FP2, FP3
Y, 8532, 8428, 8654
N, 234, 325, 210
N/A, 0, 0, 25
Thanks for your Help
Nuve
I'm trying to write a piece of code in Access VB to update a table with the
results of a query, and create new columns, rows for new datatypes that
results from the query.
E.G. If I had a table with columns
FieldTitle, FP1, FP2
and rows:
Y, 8532, 8428
N, 234, 325
next time I run the query it brings back values for the next fiscal period:
Y, 8654
N, 210
N/A, 25
How do I updated in code so that the table would be:
FieldTitle, FP1, FP2, FP3
Y, 8532, 8428, 8654
N, 234, 325, 210
N/A, 0, 0, 25
Thanks for your Help
Nuve