Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run fast these codes for reports
Message
From
03/05/2005 06:24:44
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01009899
Message ID:
01010416
Views:
24
>Vladimir i have two error
>1-command contain unrecognizef prraze/keyword
>
>*If !thisform.cfname.value=1
>  * add_if = "code>=thisform.codefm.value and code<=thisform.codeto.value and sec>=thisform.secfm.value and sec<=thisform.secto.value and scode>=thisform.shiftfm.value and scode<=thisform.shiftto.value and lcode>=thisform.levelfm.value and lcode<=thisform.levelto.value and admtd=1 and !dr-cr=0"
>*ELSE
>   *add_if = "code>=thisform.codefm.value and code<=thisform.codeto.value and sec>=thisform.secfm.value and sec<=thisform.secto.value and scode>=thisform.shiftfm.value and scode<=thisform.shiftto.value and lcode>=thisform.levelfm.value and lcode<=thisform.levelto.value and admtd=1 and fname=thisform.fname.value"
>*ENDIF
>
>
>
>
>2-missing operand

Khubaib

Could it be the last expression of line 1: and !dr-cr=0 ?

to me reads as: not dr (making it .F. or .T.) - CR = 0
i.e. T/F - CR = 0

Better to have ! ( dr - cr = 0), meaning "not true that dr - cr = 0"

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform