G
Guest
Hello.. I am currently using a "SetValue" macro to set the value of a control on a main form from a sub-form control. The main and sub forms are based on different tables, and the entry made in the sub-form needs to update the main-form. Currently my macro (using "SetValue") is as follows:
Item: [Forms]![MainForm]![Combo451]
Expression: [Forms]![MainForm]![SubForm].[Form]![cbohsup1
This works, however, I would like to eliminate the macro, and code it into the VB of the form, but as yet I have not been able to get the code right. Any suggestions would be welcome.
Thanks
Item: [Forms]![MainForm]![Combo451]
Expression: [Forms]![MainForm]![SubForm].[Form]![cbohsup1
This works, however, I would like to eliminate the macro, and code it into the VB of the form, but as yet I have not been able to get the code right. Any suggestions would be welcome.
Thanks