Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left outer join with ADO
Message
 
 
To
05/05/2003 23:52:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00785173
Message ID:
00785192
Views:
10
>>Ok, could you please post the statement again? Does it work as expected in
>>SQL Server? Any other relevant info?
>
>lcCommand = "select * from tgccodDocArm a LEFT OUTER JOIN tgcCodArm b ON
>b.c_codigo=a.c_armazem where a.c_codigo = '" + tcID + "'"
>llOK = .oData.GetRecordSet(toRS, lcCommand)
>
>
>With Query Analyser it works.
>
>The only thing is that, i create a blank recordset with the struture from the table tgcCodDocArm, before i pass them to this select then in this recordset i want to join the tgcCodArm.
>
>João

What if you try to create blank RS with the full expected structure? Also instead of a and b try aa and bb in your select command.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform