Subject: VPME 6.0b, VPMP 6.0b, VPMS 6.0b FIX: Displaying a descriptive expression for an integer FK not working
Applies to: VPM Enterprise 6.0b, VPM Professional 6.0b, VPM Standard 6.0b
Symptoms: When displaying a descriptive expression in a textbox for an
integer FK field, the correct description from the lookup view is not
displayed. Displaying a descriptive expression for a FK is described in the
Setting Up a Field for Picklist Help Using a Textbox_ Control section of the
Building Data: Picklist Help chapter of the User's Guide.
Resolution: To fix this problem, make the following modifications in the
Refresh method of the Textbox_ class in the VPMCtrls class library.
1. Change:
_SCREEN.oApp.SetViewVariables(.F.,.T.,;
CURSORGETPROP('SourceType') = 2,CURSORGETPROP('SQL'))
To:
_SCREEN.oApp.SetViewVariables(.F.,.T.,;
CURSORGETPROP('SourceType') = 2,CURSORGETPROP('SQL'),;
slLookupValue)
2. Remove the line:
PKValue = slLookupValue