Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using option button in sql
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
MS SQL Server
Divers
Thread ID:
01311140
Message ID:
01311208
Vues:
27
This message has been marked as the solution to the initial question of the thread.
>How will add with my query.
>SELECT scode,CODE,descr,fname,descru,fnameu,lcode,sec,sex,rtel FROM student WHERE admtd=1;
>aND lcode>=thisform.lcodefm.value AND lcode<=thisform.lcodeto.value...
lnSex       = thisform.Options1.Value
lcCoderFrom = thisform.lcodefm.value
lcCoderTo   = thisform.lcodeto.value
SELECT scode ,;
       CODE  ,;
       descr ,;
       fname ,;
       descru,;
       fnameu,;
       lcode ,;
       sec   ,;
       sex   ,;
       rtel   ;
FROM student  ;
WHERE admtd == 1                              AND;
      lcode BETWEEN lcCoderFrom AND lcCoderTo AND;
      (Sex = lnSex OR lnSex = 3)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform