Hi there,
I've made a custom .ocx control consisting of a command button and three text boxes:
[btnGo] [txtAccountNum] [txtName] [txtContact]
In my .exe, I have created a data repeater, using the .ocx. It looks something like this:
[btnGo] [txtAccountNum] [txtName] [txtContact] (record 1)
[btnGo] [txtAccountNum] [txtName] [txtContact] (record 2)
[btnGo] [txtAccountNum] [txtName] [txtContact] (record 3)
...a new line for each record--so far, so good.
How do I code [btnGo_Click] (which is part of the .ocx), to open a form in the .exe (in which the .ocx is used) AND point that form to the corresponding record?
Thanks in advance!
I've made a custom .ocx control consisting of a command button and three text boxes:
[btnGo] [txtAccountNum] [txtName] [txtContact]
In my .exe, I have created a data repeater, using the .ocx. It looks something like this:
[btnGo] [txtAccountNum] [txtName] [txtContact] (record 1)
[btnGo] [txtAccountNum] [txtName] [txtContact] (record 2)
[btnGo] [txtAccountNum] [txtName] [txtContact] (record 3)
...a new line for each record--so far, so good.
How do I code [btnGo_Click] (which is part of the .ocx), to open a form in the .exe (in which the .ocx is used) AND point that form to the corresponding record?
Thanks in advance!