yes yes I'm new to VB & VBA and I'm really a Tech-user than a programmer.
I know that my problem bends or breaks database redundance rules but I think I have good reason to do so.
I will simplify my problem.
I have a table with three number fields A, B, C
and a form that displays the table data in textboxs
ie A,B and C are bound controls.
A contains a number say 10.
B gets data input from the user.
Say they type in the value 20
I want to put a command button on the form that adds A to B and stores the value ie 30 in C in the table permanently.
I've done this using 2 queries one for the Calc and other for the update, but I think it would be better to do it in VBA code.
Also A B and C are array or have components.
ie A1 A2 A3 ATotal, B1 B2 B3 BTotal, C1 C2 C3 CTotal
and ATotal = A1 + A2 + A3 etc.
(so one record is really a table or matrix)
Later, when the user adds another record to the table, I want A to become the previous records C.
I know this is probably simple, but I cant do it.
(Its much easlier in Excel)
Any help would be appreciated
Thanks in advance
Zol
I know that my problem bends or breaks database redundance rules but I think I have good reason to do so.
I will simplify my problem.
I have a table with three number fields A, B, C
and a form that displays the table data in textboxs
ie A,B and C are bound controls.
A contains a number say 10.
B gets data input from the user.
Say they type in the value 20
I want to put a command button on the form that adds A to B and stores the value ie 30 in C in the table permanently.
I've done this using 2 queries one for the Calc and other for the update, but I think it would be better to do it in VBA code.
Also A B and C are array or have components.
ie A1 A2 A3 ATotal, B1 B2 B3 BTotal, C1 C2 C3 CTotal
and ATotal = A1 + A2 + A3 etc.
(so one record is really a table or matrix)
Later, when the user adds another record to the table, I want A to become the previous records C.
I know this is probably simple, but I cant do it.
(Its much easlier in Excel)
Any help would be appreciated
Thanks in advance
Zol