I guess you have totally misunderstood the use of PageSessionObjects.
Try setDisplayFieldValue("cbCreType", <whatever>)
Or
getDiplayField("cbCreType").setValue(<whatever>)
Aby
TeamND
> -----Original Message-----
> From: Greg Hart [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 22, 2000 8:03 PM
> To: [EMAIL PROTECTED]
> Subject: [ND] Setting Combo Box Value from Database-ASAP
>
>
>
> I have a combo box that is prefilled with data, i.e.
> January,February, etc. I am
> reading values from a database based on a particular user.
> However, the combo box
> value does not get set when I try to set it using:
>
> putPageSessionObject("*cbCreType",resTab.getRowData(0,43));
>
> The value read from resTab.getRowData(0,43) is correct but
> the combo box still has
> the first value in the list, not the value from the
> database. All of the other values
> being set in text boxes work, it is only the combo boxes I
> have a problem with.
>
> Thanks.
>
> ______________________________________________________________
> ___________
>
> 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]