Documentation for GetStructComponent function
In Control Builder, I have a Data Type defined with 4 variables of both dint, string, string and date_and_time type.
But when I use GetStructComponent to obtain the 4th variable I obtain a Status = -6.
What it means?
Where can I find reference documentation for GetStructComponent() function?
Press "F1" in Control Builder to open the Online Help - there you can find both a Description of the Function as well as the "General Status Codes" where -6 is explained:
I guess either your DataType for Struct doesnt have 4 Components, or the DataType for ResultStruct doesn't match the DataType of the Component...?