NetProg

 


   

NETPROG  PRESENTATION

 

  OverView
  Functionalities
  Programming
API
C Examples
  Download
MXSetRangeValue C NetProg Library 

 

#include "mx.h"
int MXSetRangeValue (MXMessage* pmessage, int Order, int Range, void* Value)


Parameters Description
pmessage  the message instance
Order  the name of the object
Range  the range of the object
Value  the value to set 


Description : 

This function set values to objects in the message pmessage. The order and the range parmeters represent the order and the range of the object .  

The value specifies a pointer to the value 

The order represents the order of the object in the message class

This function is equivalent to MXSetValue function. The object is specified by its order instead of its name. This function is useful when the application receives a database message in reply to a select message (see example)

Return Values : returns -1 if error else returns > 0 


See Also : MXGetRangeValue, MXGetValue, MXSetValue


Example :