HOW TO BIND ADO ON ONE FORM TO TEXT BOX ON ANOTHER FORM

HOW TO BIND ADO ON ONE FORM TO TEXT BOX ON ANOTHER FORM

Post by Sajeev Talw » Tue, 17 Dec 2002 10:02:37



DEAR FRIEND
I have two forms, say A and B. Form A has a command button and a text
box. Form B has Adodc and a DataGrid control. How do I bind the Text
box on Form A to Adodc on Form B, so that when the command button on
Form A is clicked, it retrieves the data in form B's DataGrid control,
based on, eg, a name entered in the text box on form A.

Thanks in advance
Sajeev

 
 
 

HOW TO BIND ADO ON ONE FORM TO TEXT BOX ON ANOTHER FORM

Post by Billy Johnso » Wed, 18 Dec 2002 23:55:19


Where is the code, I would like to see how this was done?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

 
 
 

HOW TO BIND ADO ON ONE FORM TO TEXT BOX ON ANOTHER FORM

Post by Sajeev Talw » Thu, 19 Dec 2002 04:13:17



> Where is the code, I would like to see how this was done?

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

Hi Billy,

I didn't use any code for this. I am a newbie and was trying to
retrieve data as it is retrieved when the ado, datagrid, text box and
the command button all r on the same form. As long as they r on the
same form, it works fine. But Is there a way to bind a text box on a
different form to an ado on another form to retrieve data without
using any code.When I try to do this, only the field name shows in the
datagrid, without any data being displayed. Therefore I think this is
happening because the text box is not bound to ado, and was trying to
find a way this can be done.

thanks
Sajeev Talwar

 
 
 

HOW TO BIND ADO ON ONE FORM TO TEXT BOX ON ANOTHER FORM

Post by Parker Zhang [MSF » Thu, 19 Dec 2002 20:53:26


Hi Sajeev,

I am afraid we cannot do it without using code.

--
Parker Zhang
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.