You can do >> document.pageName.submit() << inside the onChange handler of
the combo. Before that you can probably set a hidden variable say >>
hdSubmit="Y" <<, which you can use on the ND side to differentiate from
first-time loading of the page.
Aby
TeamND
> -----Original Message-----
> From: Jennifer DeLeon [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 05, 2000 8:21 AM
> To: [EMAIL PROTECTED]
> Subject: [ND] How do you show the results of a data object on the same
> page as a combo box used to set the criteria for the data object?
>
>
>
> I am looking at the evaluation copy of NetDynamics and trying
> to mimic some logic that was previously done in Visual
> Interdev/FrontPage.
>
> A user can choose a selection from a combo box. If something
> is selected in the combo box, a grid is displayed showing the
> results of the query.
>
> It's straightfoward enough to accomplish this using two pages
> - a search page and
> a results page. However, we would like to have the results
> show up on the same page
> using the onChange event for the combo box.
>
> I've seen some posts that suggest using a hidden button. Is
> there another approach that can be used?
>
> I have a javascript function for the onChange event and I
> have the logic to dynamically set the criteria for the
> dataobject. I just don't know how to tie the two together.
>
> Any ideas on the best way to do this would be greatly appreciated.
>
> 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]