I'm having some real issues with restoring a piece of legacy software at my workplace.
I have an offending line of code that I can't debug.
bFound := tblComp.Locate('CompPhone;Title;AddLine2', VarArrayof([sPhone, sTitle, sAddLine2]), )
When the script gets to this point sPhone, sTitle and sAddLine2 are correctly populated.
When it gets to this line it throws the above error: Project XXX.exe raised exception class EDBEngineError with message 'Operation Not Applicable'
If anyone has any pointers of why this might be happening or how to go about solving the issue that would be great.