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