Thanks for your reply. In my case though, I'd like to select a company from a
drop-down list, and then display all invoices for that company, whereas your
example only allows one colour to be displayed for each fruit selected.
Would it be possible to do this?
thanks,
Simon
> Ordinarily you would use a filter on the repeating section and set the
> selected value from the drop-down equal to a value from one of the fields in
[quoted text clipped - 29 lines]
> > thanks,
> > Simon
S.Y.M. Wong-A-Ton - 13 Apr 2007 06:56 GMT
If the invoices are in a database, you can bind your form to that database.
This will enable you to use the filter option (Properties dialog > Display
tab > Filter Data button) on a repeating table/section like I mentioned in my
previous post. This is the simplest (codeless) solution.
If you want to keep the data as coming from a secondary data source, you'll
have to resort to writing code to do the filtering for you and then populate
a group node in your Main data source in the OnAfterChange event for the
drop-down list box. You'll not only need to know how to write code, but also
how to use filters in XPath expressions. This may be a very challenging
solution to implement.
---
S.Y.M. Wong-A-Ton
> Thanks for your reply. In my case though, I'd like to select a company from a
> drop-down list, and then display all invoices for that company, whereas your
[quoted text clipped - 36 lines]
> > > thanks,
> > > Simon