Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Syntax
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00798451
Message ID:
00798463
Views:
22
>Thanx George, but I tried that and I'm still getting the same message. Is SUM(IIF(dbcr = 'C', -1 * VAL(amount), VAL(amount))) amount a vailid column refrence?

Bill,

You're missing the AS clause
SUM(IIF(dbcr = 'C', -1 * VAL(amount), VAL(amount))) AS amount
in several places it looks like as well.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform