Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging this SQL for the HAVING clause
Message
From
23/06/2006 16:38:38
 
 
To
23/06/2006 16:06:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131279
Message ID:
01131315
Views:
12
>Amount is ambiguous here; are you referring to the SUM you just computed or the original Amount field. Try using SUM(Affiliate.Amount) in the HAVING clause instead.

Thanks, this works.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform