Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using option button in sql
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
MS SQL Server
Miscellaneous
Thread ID:
01311140
Message ID:
01311144
Views:
18
>In my table student.sex record is=1,2
>I want to selet records using option button(3 buttion)
select code, sex from student where sex=thisform.option.value&& (1)
>select code, sex from student where sex=thisform.option.value &&(2)
>select code, sex from student where sex=thisform.option.value &&(1) and (2)
>thanks

I am not sure what you asking about.
What is your problem with these SELECTs?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform