Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Relation Problem
Message
 
 
To
03/11/2008 10:22:22
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01358947
Message ID:
01359176
Views:
47
>Thanks for pointing, kindly let me know how can replace that right syntax which the suggestion you mentioned.
SELECT SoMain.*, SosUb.ICode, SosUb.qntymaj, SosUb.qntymin,;
		SosUb.RateMaj, SosUb.RateMin,;
		PCode.full_Name, PCode.address, PCode.tel1, PCode.tel2, PCode.tel3, ;
		ICode.full_desc, ICode.unit ;
	FROM (lcPathSoMain) SoMain;
		JOIN (lcPathSosUb) SosUb ON SoMain.SoNo == SosUb.SoNo;
		LEFT JOIN (lcPathPCode) PCode ON SoMain.PCode == PCode.PCode;
		LEFT JOIN (lcPathIcode) ICode ON SosUb.ICode  == ICode.ICode;
	WHERE BETWEEN(SoMain.date, dt1, dt2) ;
	INTO CURSOR cSomain
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform