Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run SQL with edit1 and command1
Message
De
22/09/2004 08:40:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/09/2004 08:34:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00944927
Message ID:
00944930
Vues:
20
>Dear professors
>
>I write following select statement in edit1.value
>
>Select * from vouchers
>
>I want to run this command through command button.
>What should I write on the click event of command1 to run codes written in edit1.value.
>
>Please help

Tariq,
Though I wouldn't suggest this works:

local lcStr
lcStr = thisform.Edit1.VAlue
&lcStr

Alternatively (VFP7 and later):
ExecScript(thisform.edit1.VAlue)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform