Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 SQL Remote View Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00168348
Message ID:
00168608
Views:
33
>I am trying to build a remote view on a VFP6 DBC.
>I want to pull in all the records from a parent
>table, and I want to attach a field to each
>record that is the sum of records in a child table.
>Here's the code:
>
>SELECT Donor.* , sum(nOrdr_Pri) as Donatns_to_Date;
> FROM {Orditem FULL JOIN Donor ;
> ON Orditem.cdonor_no = Donor.cdonor_no };
> WHERE Orditem.cdonor_no = Donor.cdonor_no;
> ORDER BY Donor.cdonor_no
>
>Why am I getting an error at the "ON" line?

Do you still need the filter after the WHERE clause? I don't know about the use of curly braces {}, but you sure don't need them.
Previous
Reply
Map
View

Click here to load this message in the networking platform