Is there any reason why the following command should not work in NDV4? I
seem to have an intermittant problem in this area of the code and I'm
wondering if the CSpValue could be the cultrit.  Since a classcode is
autopopulated the selectedValue should never be null...

thx,
- marilyn


CSpComboBox cbBox = (CSpComboBox) getDisplayField("cmbUserClassCodes");
CSpListItem     currSlected = (CSpListItem) cbBox.getSelected();

CSpSting selectedLabel = new CSpString( currentSelected.getLabel())
CSpValue selectedValue = currSelected.getValue();

CSpider.putUserSessionObject(Sobj.pgMainPartAss_ClassCode, selectedValue);

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to