Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display SQL results

Status
Not open for further replies.

EscapeUK

Programmer
Jul 7, 2000
438
GB
This is in VB. I have a a text box where I get the user to enter a SQL statement. I would then like to execute this and display the results in another text box.
 
???

Text2.Text = Text1.Text Eric De Decker
vbg.be@vbgroup.nl

Licence And Copy Protection AxtiveX.

Download Demo version on my Site:
Promotions before 02/28/2001 (free source codebook),visite my site
 
how does that work?. All that does is display the SQL line that was type by the user.

I would like to run the line of SQL typed by the user and place the results in another text box

EG

Text1.text = Select * from Mytable

then in textbox2 i get results eg

fred bloggs 25, a new road
Paul Jones 33, a new street
Lucy smith, 21, a old road
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top