fcSDK Documentation
AddForUpdate(Int32) Method

The objid of the row to use for updating

Creates a new row in the ClarifyGeneric with the specified objId which will be used to update an existing row in the database rather than inserting a new one.

Syntax
'Declaration
 
Public Function AddForUpdate( _
   ByVal objId As Integer _
) As ClarifyDataRow
public ClarifyDataRow AddForUpdate( 
   int objId
)

Parameters

objId
The objid of the row to use for updating

Return Value

A newly created row populated with the specified objid
Remarks

Use this method when you know the uniqueId of an object in the database and making a database query to retrieve the row would be inefficient. Use the GenericDataRow returned to update the generic. When you are finished calling one of the Update methods on the FCGeneric or GenericDataRow will commit the changes to the database.

Note: The objId must be a legal identifier for the Table the Generic belongs to.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

ClarifyGeneric Class
ClarifyGeneric Members

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.