I believe there is something fundamentally wrong with what you are trying to do. The CSpPage object contains a CSpComboBox object, but doesn't allow you to set it to something else. getDisplayField() gives you a reference to the comboBox object on the page, but there is no way you can change it. If you assign something else to that reference variable, it is only the variable that start pointing to a different object, nothing happens to the Page object. ND hasn't provided and probably has no reason to provide a method 'setDisplayField()'. I guess the best option would be to store the comboBox values in a CSpVector and pass around. Aby -----Original Message----- From: Alan Turner [mailto:[EMAIL PROTECTED]] Sent: Friday, October 08, 1999 1:13 PM To: [EMAIL PROTECTED] Subject: [ND] Attempting To Pass A ComboBox From One Page To Another Using A SessionObject I am attempting to take a ComboBox that was built in a common logon page and pass it to all other pages in the project. I am able to retrieve the ComboBox from an AnyUserSessionObject in the PE. In the new page, on the myComboBox_onBeforeDisplayEvent, I get the handle of myComboBox and set it to the value of the AnyUserSessionObject, casting it as type CSpComboBox. This is successful. The problem is that myComboBox displays an empty ComboBox. I am, however, able from withing the code for that page, select a particular entry, extract the label and value, and display it. It appears that all of the data is there, but the display of the data on the page fails. Thanks, Alan Turner Frito-Lay, Inc. _________________________________________________________________________ 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] _________________________________________________________________________ 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]
