Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Full Optimize this
Message
 
 
À
07/03/2013 07:38:07
Mk Sharma
Shrishti Solutions
Mumbai, Inde
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:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01567687
Message ID:
01567699
Vues:
41
Hah?

>
>I have changed like below :
>
>
>Do Case
>        Case Thisform.Optiongroup1.Value = 1   &&  All Records
>		Thisform._lcliftdate = ".T."
>	Case Thisform.Optiongroup1.Value = 2   &&  Only Pending Records
>		Thisform._lcliftdate = "liftdate == {}"
>	Case Thisform.Optiongroup1.Value = 3   &&  Only Final Records
>		Thisform._lcliftdate = "liftdate <> {}"
>Endcase
>
>
>
>What alternate we can use for " &lcLiftcond " ?
>
>Warm Regards,
>mk.
>
>
>>Assuming that lcliftdate is a date. If not, adjust acccordingly
>>
>>Do Case
>>        Case Thisform.Optiongroup1.Value = 1   &&  All Records
>>		Thisform._lcliftdate = ".T."
>>	Case Thisform.Optiongroup1.Value = 2   &&  Only Pending Records
>>		Thisform._lcliftdate = "liftdate == {}"
>>	Case Thisform.Optiongroup1.Value = 3   &&  Only Final Records
>>		Thisform._lcliftdate = "not liftdate == {}"
>>>Endcase
>>
>>
>>Another option to try, run first select w/o additional condition. After that use the cursor created as source for the second select with the additional condition.
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform