Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


Description:
This function sets the column values of the given EDMtableInstance.
Related functions:
edmiRemoteCreateTableInstance, edmiRemoteDeleteTableInstance, edmiRemoteGetTableInstanceId, edmiRemoteIsTableInstance, edmiRemoteGetTableInstancesEntityExtent, edmiRemoteCreateTableInstanceColumn, edmiRemoteDeleteTableInstanceColumn,  edmiRemoteGetTableInstanceColumnsValue, edmiRemoteGetTableInstanceColumnNumber, edmiRemoteInsertTableInstanceRows, edmiRemoteDeleteTableInstanceRows, edmiRemoteGetTableInstanceProperties, edmiRemoteSetTableInstanceProperty, edmiRemoteGetTableInstanceProperty
 
Header:
#include "sdai.h"
Prototype:
EdmiError edmiRemoteSetTableInstanceColumnsValue (SdaiServerContext    serverContextId,
                                                                                                  SdaiInstance                tableInstanceId,
                                                                                                  SdaiInteger                  rowNumber,          
                                                                                                  SdaiInteger                  columns,            
                                                                                                  SdaiInteger                  columnNumbers[],
                                                                                                  SdaiSelect                   columnValues[],  
                                                                                                  SdaiInteger                 *rowNumberUpdated,
                                                                                                  SdaiInvocationId         *edmiInvocationId);
Arguments:
 
 

Argument type

Argument name

 Comments

SdaiServerContext    

serverContextId

 

SdaiInstance            

tableInstanceId

 

SdaiInteger             

rowNumber

RowNumber = 0 means append new row. First rowNumber is 1 (not zero)

SdaiInteger             

columns

Number of columns to update

SdaiInteger             

columnNumbers[]

Columns to update. First columnNumber is 1 (not zero)

SdaiSelect              

columnValues[]

Columns value, order is according to order in columnNumbers

SdaiInteger            

*rowNumberUpdated

RowNumber of updated column

SdaiInvocationId    

 *edmiInvocationId)

 

 
Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0: Operation successfully performed.
_Completion code != 0: Error in operation. Completion code is an EDMinterface_ error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE
 
 

  • No labels