Description: Finds the first current-DBForm component bound to the named global entry and returns its component ID.
Calling convention: CIP_GetComponentIDByEntryName("EntryName": String): Integer
Parameters:
EntryName: global entry name.
Returns: Component ID, or -1 when no DBForm, NULL input, or no bound component is found. An unknown entry raises an exception.
Availability: Default while a DBForm is active.
Example:
ComponentID := CIP_GetComponentIDByEntryName("BatchNumber");