Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter Update Problem
Message
From
25/05/2005 09:01:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01016803
Message ID:
01017481
Views:
29
Mark,
"... keys should never be updated" would be more appropriate:) I tend to think they should always be updated - am I in the minority using keys like GUID that I know before submittal? At least including MSSQL 2000 problems are not solved with IDENTITYcrisis :)
Cetin

>In addition to what Aleksey replied, I noted in your CA code that you made the keyfields updatable. I would remove those from the list of updatable fields. IMHO, keys should NEVER be updated. They should be meaningless and therefore irrelevant with respect to needing to be changed.
>
>>Mark,
>>
>>been thinking more about this. I understand what you're saying here, and while
>>I might not need to update the left table in this case, it seems probable in
>>the future.
>>
>>So how do I go about using a CA to create a join where only the changed record
>>in the left table gets updated?
>>
>>Thanks
Ç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
Reply
Map
View

Click here to load this message in the networking platform