Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Full Optimize this
Message
 
 
To
07/03/2013 07:38:07
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01567687
Message ID:
01567699
Views:
39
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform