I guess this question is directed at John Tuohy?
The function below is used by CrossMerge and have been working since VDF 7. However, in VDF 17 it fails with an "Invalid function call" error. Has the Data_Field function intentional - or in-untentional - been removed from the runtime?
Code:
Function DDObjectId Global Handle hoDD Integer iFile String sField Returns Handle Handle ho
Integer iField iCount iItems iSearchField
Field_Map iFile (Trim(sField)) to iSearchField
Get Data_Set_User_Interface_Count of hoDD to iItems
For iCount from 1 to iItems
Get Data_Set_User_Interface of hoDD iCount to ho
If ho Get Data_Field of ho to iField
If (iField = iSearchField) Break
Loop
Function_Return ho
End_Function
Or is there another way to write this function for VDF 17?
TIA.