NetTalk Central

Author Topic: Filter for child browse  (Read 4175 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Filter for child browse
« on: November 10, 2009, 01:24:38 PM »
Hi,
I have a parent-child situation in my app.
Now I want to make a droplist field _above_the_child-browse_ (which is  on the right side for aestetic reasons) so the user can pick his favorite view for the child-browse.
Is that possible. And if so.....how??

Thanks,
Rene
Rene Simons
NT14.14

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Filter for child browse
« Reply #1 on: November 10, 2009, 05:11:25 PM »
Have yo tried to embed your parent browse onto a Form? You can then add any any controls anywhere on the page to interact with your browse.

Kev

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Filter for child browse
« Reply #2 on: November 10, 2009, 10:07:13 PM »
Hi Kev,

yes, but a Form can't be a Child. So that's not gonna work so well.

Rene, there's no current direct support for this. It could be coded, but it'd be a bit tricky.

I think what you need is a Form, with all the options (for both browses) which then contains the parent browse, which then has a child.

cheers
Bruce

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Filter for child browse
« Reply #3 on: November 10, 2009, 10:41:08 PM »
Hi Bruce,

maybe I don't understand what Rene is trying to do but if you add a browse to a Form and that browse has a child then it will show the parent browse and the child. Luckily he has the child browse to the right so couldn't he just add his drop list and pad it out with some blank fields to position it above the child browse?

Obviously a form with all the options would be better...

Kev

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Filter for child browse
« Reply #4 on: November 11, 2009, 03:40:17 AM »
Thank you, thank you,

The parent and child are already on a form because I need some extra info displayed (from previous choices made on other-"previous" pages).
So the browse family is situated next to each other _on_ the form.

The parent has a lot of children and for ease of use purposes it sometimes is neccessary (handy) to view only certain children. The view-selection is therefore made by  using a drop-list.

Maybe I just put the droplist in the toppart of the form, just above the parent, and try to manage it to the right side so that it appears/seems to belong to the child. I suppose I can use a table and some styling to do that.
Of course I will only refresh the child when a new choice is made in the drop-list.

Thanks,
René

Rene Simons
NT14.14