Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 11 of 11 total
Thread Browse on cached records
Wed, Feb 8 2017 3:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sorin,

<< On my case the column that link to the master table and an other column from the detail table are the primary key.  When I post a cached table with a duplicate primary key values it's raise an error. >>

You can trap this with an OnPostError event handler on your table/query/script/storedproc component.

<< And I want to raise an error before the user try to commit the cached data. >>

Okay, I think I may be finally getting it. Smile Are you trying to verify whether the cached rows are going to create primary key errors during the ApplyCachedUpdates call, as opposed to during a Post operation on the cached table ?

Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image