Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function Name is missing error message
Message
From
28/09/2006 06:51:17
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01157563
Message ID:
01157781
Views:
38
DOH!

Thanks Sergey. You'll notice I DO in the lower SUM( IIF( BETWEEN( ET.date,... clauses. I'd forgotten this, and I lifted the IIF()s from a WHERE clause elsewhere and didn't consider that. :-)

Terry

>You cannot use BETWEEN operator inside IIF(). You have to use BETWEEN() function.
>
>>
>>This is one of those look-over-my-shoulder jobs:
>>
>>I added the complex nested IIF() to this SQL. Intellisense matches up all my parenth. and AFAICS the IIF()s are pukka, but the compiler keeps screaming "Function Name is missing) err mess" every time I try to leave the method.
>>
>>Maybe the SQL has given up on it?
>>
>>Can anyone see the flaw, cos I can't see the brackets for the parenth any more?
>>
>>Essentially it's (should be) saying "If there is a matching operator/route combo, in the RteFam table, well if it's dates are current with the ET rec's date, use its SERVTYPE field - else put a '#' (to denote out-of-date). If there is no match, put a '?' to denote 'not known'"
>>
>>Have that on my desk by the (my) tommorrow morning would you? :-)
>>
><snip>
- 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
Next
Reply
Map
View

Click here to load this message in the networking platform