Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difference SQL and VFP
Message
From
08/02/1999 05:44:17
 
 
To
07/02/1999 13:06:03
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00184820
Message ID:
00185000
Views:
21
>>I am converting a program from VFP to SQL with ado.
>>
>>I seems that the sql statements are not compatible.
>>The SUM with an IIF statement does not give the correct result
>>
>>Example
>>
>>select *, sum(uurfact) as fact, SUM(IIF(ureisk='Ja ',1,0)) as reisk from uren where umcode= '20002 ' group by umcode
>>
>>Can someone help me.
>>
>>Kind regards
>>
>>
>>Jan Dorresteijn
>
>IIF is a VFP command and not recognized by SQL Server.

OK but is there an other solution

Kind regards,

Jan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform