Copies the content of a fielded buffer (FML, FML32) to a view buffer.
TUXEDO.bdh
TuxFML2View( in hFML : number, in hView : number ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
hFML | Fielded buffer containing the data |
hView | View buffer receiving the data |
const ID_ELEM1 := 16; ID_ELEM2 := 32; dcltrans transaction TMain var hFML, hView: number; begin // allocate buffers TuxGetBuffer(hFML, "FML", NULL, 1024); TuxGetBuffer(hView, "VIEW", "MyView", 1024); // store dummy values in fielded buffer TuxSetInt(hFML, ID_ELEM1, 832); TuxSetInt(hFML, ID_ELEM2, 173); // convert fielded buffer to view buffer TuxFML2View(hFML, hView); end TMain;