Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert codes in sql
Message
De
03/05/2005 11:59:19
 
 
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
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01010484
Message ID:
01010492
Vues:
24
To speed up the SQL, use a variable in stead of the object value
lcMonth=thisform.month1.value
SELECT Acctran.code;
 FROM ;
     acctran;
 WHERE  Acctran.month1 = lcMonth;
 ORDER BY Acctran.month1
>
Set Filter To code=thisform.code.value
> Set Order To month1
> LOCATE
>
>
>i try
>
>SELECT Acctran.code;
> FROM ;
>     acctran;
> WHERE  Acctran.month1 = (thisform.month1.value);
> ORDER BY Acctran.month1
>
>
>when i convert in sql (query) i get a brows. How avoid the brows i want only filter and order by sql
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform