Hi,
I tried out your way and it worked. Thank you so much.
Amit.
--- Kuruvilla Mathew <[EMAIL PROTECTED]> wrote:
>
> Here is the snippet ...
>
> public int
> cbComboBox_onBeforeDisplayEvent(CSpDisplayEvent
> event)
> {
> CSpComboBox cbComboBox= (CSpComboBox)
> event.getSource();
> cbComboBox.removeAllChildren(true);
> for( int iCount=0;
> iCount<doMyStoredProc.getNumOfRows(); iCount++
> )
> cbComboBox.addSelectable
> (
> iCount,
>
> doMyStoredProc.getValue(iCount,"R_NAME").toString(),
>
> doMyStoredProc.getValue(iCount,"R_VALUE")
>
> );
> return (PROCEED);
> }
>
> .mat
>
>
>
>
>
> Amit Sharma <[EMAIL PROTECTED]> on 05/19/99
> 11:42:26 AM
>
> To: [EMAIL PROTECTED]
> cc:
> [EMAIL PROTECTED]
> (bcc:
> Kuruvilla Mathew/Contractor/CF/CCI)
> Subject: [ND] Populating a combo
>
>
>
>
> Hi All,
> I have a combo box populated by a dataobject built
> on a stored
> procedure. The dataobject is parameter driven and it
> is also bound to
> the combo-box. Which is the best place to set the
> parameter for the
> dataobject. I've tried it onbeforeDataobjectExecute
> event of the page
> and onBeforeDisplay of the combobox but it doesn't
> work.
> Thanks.
> Amit.
>
>
> _____________________________________________________________
> Do You Yahoo!?
> Free instant messaging and more at
> http://messenger.yahoo.com
>
_________________________________________________________________________
>
> 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]
>
>
>
>
>
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
_________________________________________________________________________
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]