Greg,
I didn't mean to make it condescending or anything. If I am to work on a new
technology I am bound to make the same kind of mistakes, and I would be
happy when somebody corrects me. I noticed that your posting was unanswered
since Saturday, and was only trying to help. The use of PageSessionObject in
this context looked very inappropriate to me.
When you say other fields are working, there must be setDisplayFieldValue or
equivalent in the onBeforeDisplayEvent of all those fields. There may be
some issues with comboBox, somebody will be able to help if you give more
details.
Cheers,
Aby
> -----Original Message-----
> From: Hart, Greg [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 24, 2000 2:56 PM
> To: 'Aby Mathew'; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: RE: [ND] Setting Combo Box Value from Database-ASAP
>
>
> Thanks for your comment, no matter how condescending it may
> seem. I will
> look at that. All the other fields have been set the same
> way and they
> work. There is another piece of code that is being used that
> I did not copy
> into the post which may be using setDisplayFieldValue so I
> will have to
> check it.
>
> Thanks,
> Greg
>
> -----Original Message-----
> From: Aby Mathew [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 24, 2000 1:30 PM
> To: 'Greg Hart'; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: RE: [ND] Setting Combo Box Value from Database-ASAP
>
>
> 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]