7807 The Table Function %DBID.%TVMID called %VSTR incorrectly.
This error indicates that FNC_TblFirstParticipant and/or FNC_TblControl have not been called correctly. An inconistent state has been found. This error is detected when one of the following rules has been violated: 1) FNC_TblFirstParticipant is called a second time from the same amp, or FNC_TblFirstParticipant is called after the amp has already called FNC_TblControl 2) FNC_TblControl is called a second time from the same amp, or FNC_TblControl is called after the amp has already called FNC_TblFirstParticipant
Redesign the UDF to not call the FNC library in a non supported state.