
Create an event in a self defined wizard
I want to build my own form wizard from a table and I have created the
controls.
Now I want to create a user user-defined event procedure to an control.
There is a statement that connects a pre defined function to a control.
...
ctlComboBox.OnClick = "=MyFunction()"
...
What I want is to create a function at runtime
...
ctlComboBox.OnClick = "[Event Procedure]"
...
My question is how do I place the following sub commands in the OnClick
event of the ctlComboBox.
Dim MyString as String
MyString = "Test String"
MsgBox = MyString
Patrick Luijpers