PDA

View Full Version : EXECUTE statement


Da_Retina
03-27-02, 03:01
Salute..
how can I use the EXECUTE statement the exists in the VBScripting edition within my regular VB application..I need to generate VB statements dynamically!..
Thanks In Advance

Rasatan
07-29-02, 03:07
I hope this help You..
Is easy.. only make a var name sql and generate de code like...

command=text1.text
table=text2.text
value=text3.text

sql= text1.text & "INTO "& text2.text &"VALUES (" &text3.text & ")"
whatever.execute sql

Oviosly change the type of command and all you need and your imagination can do....