Many thanks, a simple solution that has saved the rest of my hair!
Nick
User Profile
Collapse
-
Setting ControlSource in VBA
Hello,
I am using MS Access 2003 and trying to set a textbox's ControlSource in VBA code.
this following works fine
Task.ControlSou rce = "[ActivityQuery_C rosstab].[Task]"
However, if i try to set the control source using an expression like:
txtCost.Control Source = "[ActivityQuery_C rosstab]![Total] * [ActivityQuery_C rosstab]![CostOut]
...
No activity results to display
Show More
Leave a comment: