Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Data Using SPT
Message
 
 
To
30/04/2008 17:59:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01314361
Message ID:
01314364
Views:
6
Try
TEXT TO lcSQL NOSHOW PRETEXT 15
Select * 
	From webprddt6.resmngt2 
		Join webprddt6.resmngt3 On webprddt6.resmngt2.recseq = webprddt6.resmngt3.projindex 
		LEFT Join webprddt6.resmngt3b On webprddt6.resmngt3.recseq = webprddt6.resmngt3b.taskindex 
	 		AND assigned = ''
ENDTEXT	
>Need some help with a SPT syntax to get all the data.
>
>This is my current SQL string:
>
>*testString = "Select * From webprddt6.resmngt2" +;
>" Join webprddt6.resmngt3 On webprddt6.resmngt2.recseq = webprddt6.resmngt3.projindex" +;
>" Join webprddt6.resmngt3b On webprddt6.resmngt3.recseq = webprddt6.resmngt3b.taskindex" +;
>" Where assigned = ''"
>
>This work as long as resmngt3b table has records that match the resmngt3 table but it fails to give me the records in resmngt3 that have not been asigned at all.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform