Sub address problem

P

Phil

Hi,
I have the following code in a form where I have 10 sets
of fields with field names for each set ending in 1, 2, 3,
etc. I need to perform the same changes of each set of
fields when the combo box in the set has a change. I have
the following subs, but my fields on the form do not
change. I think I'm using the field data instead of the
the address of the fields or something. As I trace the
code each operation is processed but in watching the
fields they don't change.

Once again I'm missing something.

Your help will be appreciated.

Thanks,
Phil

Private Sub cboChange(cboCount, NoOfCharSpecial, NoOfChar,
txtHeading)

txtHeading = Null
NoOfChar = 0
NoOfCharSpecial = cboCount
End Sub

Private Sub cboHeading1_Change()
Call cboChange([cboHeading1].Column(2),
NoOfCharSpecial1, NoOfChar1, txtHeading1)
End Sub
 
Top