"Label of the field " is it detail (Left label) or in Grid (Top Label) ?
WINAPI/SetControlText works for left label (text property of control).
Parameter 1 : Set the control name for the left label in panel properties and pass the same to the source code(SetControlText).
Parameter 2 : Pass the text from the database.