If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > EXECUTE statement

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-27-02, 02:01
Da_Retina Da_Retina is offline
Registered User
 
Join Date: Mar 2002
Posts: 2
EXECUTE statement

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
Reply With Quote
  #2 (permalink)  
Old 07-29-02, 02:07
Rasatan Rasatan is offline
Registered User
 
Join Date: Jul 2002
Location: Veracruz, Mexico
Posts: 6
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....
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On