Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run SQL with edit1 and command1
Message
From
22/09/2004 08:40:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/09/2004 08:34:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00944927
Message ID:
00944930
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform