Hi,
I have a continuous subform bound to a control source (a table) and am displaying each field in a textbox. All fine so far. I've added an unbound text box that contains a formula along the lines of "if the checkbox bound to colA is ticked then display ColB + Col C, else display just ColB". This works fine as well. As I have four rows in the table, all with different values in them, I have four instances of this unbound textbox. As I tick or untick any of the check boxes, the value in the relevant unbound text box changes as per the formula I have used.
My question is, how can I reference these four different values? For example, how could I iterate through the rows in my continuous form in VBA and print out the value of that unbound text box in each case?
Thanks
I have a continuous subform bound to a control source (a table) and am displaying each field in a textbox. All fine so far. I've added an unbound text box that contains a formula along the lines of "if the checkbox bound to colA is ticked then display ColB + Col C, else display just ColB". This works fine as well. As I have four rows in the table, all with different values in them, I have four instances of this unbound textbox. As I tick or untick any of the check boxes, the value in the relevant unbound text box changes as per the formula I have used.
My question is, how can I reference these four different values? For example, how could I iterate through the rows in my continuous form in VBA and print out the value of that unbound text box in each case?
Thanks