FormGetCurrInst
Extracts data associated with a field (set by the FormSetInst() function). You should call this function only from within a field callback function. This function is the same as calling the FormCurr() function and then the FormGetInst() function.
Syntax
FormGetCurrInst(iData, sData)
iData:
Integer data.
sData:
String data.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
FormCurr, FormGetInst, FormSetInst
Example
INT
FUNCTION GetNextRec()
INT hDev;
STRING Str;
FormGetCurrInst(hDev,Str);
DevNext(hDev);
RETURN 0;
END
See Also