VPME 9.1 FIX: Data Sources functionality not working

The place where ProMatrix posts coding tips and fixes. Read only.

VPME 9.1 FIX: Data Sources functionality not working

Postby JessicaLawson » Sun Jun 13, 2010 5:35 pm

VPME 9.1 FIX: Data Sources functionality not working properly

Applies to: VPM Enterprise 9.1 through 9.1.12

Symptoms: The data entered on the Data Sources form for a Data Source is not used. This problem
doesn't affect views and cursoradapters that access SQL Server data since the default Data Source
values work properly for SQL Server.

Resolution: Make the following change to the InitializeProperties method of the VPMDataHandler class
in VPMDataHandler.vcx.

Change:

IF NOT This.IsEOF()
DIMENSION This.aDDDS[RECCOUNT(),FCOUNT()]
COPY TO ARRAY This.aDDDS
ENDIF

To:

slnRows = 0
SCAN
slnRows = slnRows+1
DIMENSION This.aDDDS[slnRows,9]
This.aDDDS[slnRows,1] = cPK
This.aDDDS[slnRows,2] = ALLTRIM(cName)
This.aDDDS[slnRows,3] = ALLTRIM(mBypassWildcard)
This.aDDDS[slnRows,4] = ALLTRIM(mBypass_cMax)
This.aDDDS[slnRows,5] = ALLTRIM(mBypass_cMin)
This.aDDDS[slnRows,6] = ALLTRIM(mBypass_dMax)
This.aDDDS[slnRows,7] = ALLTRIM(mBypass_dMin)
This.aDDDS[slnRows,8] = ALLTRIM(mBypass_nMax)
This.aDDDS[slnRows,9] = ALLTRIM(mBypass_nMin)
ENDSCAN
JessicaLawson
 
Posts: 79
Joined: Sun Jun 13, 2010 1:23 pm

Return to ProMatrix Library

Who is online

Users browsing this forum: No registered users and 1 guest

cron