C
Chris Strug
Hi,
Just wondering if anyone can point me in the right direction.
I have created an unbound form which runs on an ADO recordset linked to SQL
server. This bit is fine, retrieving, updating and otherwise handling the
data is absolutely fine. This form is called "FormA"
However I want to be able to search on this recordset. To do this I had in
mind a button which the user selects which displays a floating form (FormB).
From this the user enters the data they wish to search for, the field in
which they wish to look and a button to find the next item in the selected
field.
The problem is I don't know how to communicate between the two forms. How do
I reference the ADO recordset in FormA from FormB? Something that may
further complicate things is that I want the floating form to stay until the
user closes it...
How do I achieve this communication between the two forms? It isn't like I'm
referencing a control like a textbox, it's an actual ADO object I have
declared in the code behind the form....
Any assistance at all is gratefully appreciated.
Kind thanks
Chris.
Just wondering if anyone can point me in the right direction.
I have created an unbound form which runs on an ADO recordset linked to SQL
server. This bit is fine, retrieving, updating and otherwise handling the
data is absolutely fine. This form is called "FormA"
However I want to be able to search on this recordset. To do this I had in
mind a button which the user selects which displays a floating form (FormB).
From this the user enters the data they wish to search for, the field in
which they wish to look and a button to find the next item in the selected
field.
The problem is I don't know how to communicate between the two forms. How do
I reference the ADO recordset in FormA from FormB? Something that may
further complicate things is that I want the floating form to stay until the
user closes it...
How do I achieve this communication between the two forms? It isn't like I'm
referencing a control like a textbox, it's an actual ADO object I have
declared in the code behind the form....
Any assistance at all is gratefully appreciated.
Kind thanks
Chris.