Yes, that worked thanks! But why the OnClick event if it doesn't work?? Microsoft's idea of a joke??
When I click that tab, it will set a variable called strCurrentSubForm to a value. Then I use this value as follows:
strTo = Forms!frmADREnquiriesListMain(strCurrentSubForm).Email
But it does not work. What is wrong with this line of code?
It is supposed to be referring to a subform.
Thanks,
Dave