Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert codes in sql
Message
From
03/05/2005 11:59:19
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010484
Message ID:
01010492
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform