PDA

View Full Version : cSigCJReportControl class and Mertech



chuckatkinson
25-Mar-2009, 09:44 AM
Has anyone had a problem using this class and a SQL_CONSTRAINT or SQL_FOR_SET commands from the mertech.inc

We are getting the error below when compiling with VDF 14.1 and Codejock 13.0


- Debug information file C:\DOCUMENTS AND SETTINGS\CHUCK\MY DOCUMENTS\VISUAL DATAFLEX PROJECTS\WDSREPORTS\PROGRAMS\PO WORKSHEET MAIN.EXE appears corrupt, missing scope entry for local symbol '_arg1#'. Select Rebuild in the Project menu to recompile program.

It appears to have something to do with how mertech is declaring their variables in the command : DO_DECLARE_BASIC_VARIABLES#

The string variables that throw the error are _arg1#, _arg2# and _locstr#.

I devised a workaround by declaring these as global in my program so within the mertech command DO_DECLARE_BASIC_VARIABLES# the #IFDEF for declaring them will fail.

This has been reported to mertech. I was just interested to know if anyone else is having this problem?