Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left join - view
Message
From
25/11/2005 09:03:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01072046
Message ID:
01072054
Views:
20
>Hello,
>
>I have done, (left join) 2 tables relation in view.
>
>order.custid on cust.custrefid
>
>when the relation is occured, view takes value in cust.custname by the order.custid
>
>But if custid and custrefid arent equal or if there isn't any value custid, view takes .null. so it can not be changed or deleted. How can i provide, string value instead of .null. or doesn't care the .null. ?
>
>Note: The error message is below
>No key columns are specified for the cupdate table "mydbc!cust". Use the Keyfieldlist property of the cursor.

Okan,
Do not send the updates. Do the update manually (never update from a view to multiple tables IMHO).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform