Im trying to get the name of a bound control on a continuous form in
Access. So that I can get the value of any text field.
This is what Im looking to do....
The user enters a value for number of entries for a specific month in
column1, column2 is the value for number of entries used Year to Date.
So I am looking to calculate column2 with the value of the current
column1 plus the value of the previous records column2.
Confused yet?
Example...
Col1 Col2
------------------------------------
5 5
2 7
3 10
5 15
so user enters.... 4 for next record in col1 hence col2 should be
calculated to 19. I attempted to code a work around which when the
user lost focus on col1 I went move previous on the recordset, store
the value of col2 in a temp variable, movenext again, so that Im back
to the original record, then set col2 = col1 + temp variable. This
kinda works but is messy.
I'd be able to do this in VB or something if the text box fields were
a control array or whatever.
Any help on this would be most appreciated.