Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL statement /Pervasive
Message
From
23/07/2010 09:23:08
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01470450
Message ID:
01473578
Views:
25
I am now running your statement with the addition on PRICLIST however it gives me an error saying no PRICLIST field exists?... but this field does exists and is selected in your statement ...

SELECT Crs_items.custcode, Crs_items.itemnumber, ;
Rv_icpric.desc, rv_ARCUS.priclist, Rv_icpric.baseprice,Rv_icpric.baseunit ;
FROM (SELECT Rv_uxdetail.custcode, Rv_uxdetail.itemnumber ;
FROM rv_UXDETAIL ;
GROUP BY Rv_uxdetail.custcode, Rv_uxdetail.itemnumber) ;
Crs_items ;
INNER JOIN rv_ARCUS ;
ON Rv_arcus.idcust = Crs_items.custcode ;
INNER JOIN rv_ICPRIC ;
ON Rv_icpric.itemno = Crs_Items.itemnumber AND RV_icpric.pricelist = Crs_items.priclist ;
INTO CURSOR crs_CurrentPrice
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform