Hi Thiru,
Welcome back.
On your data entry view, your drop down linked to txt_SubCategory needs to
be inside your repeating section.
Then, to display the "filtered" results (on the same view or on other
views), you need:
1. To have a dummy field to store your filter when you click your button
below your filtering drop-down.
2. The "filtered" repeating section/table needs to be linked to the field
above; that section is just a copy of the one you have on the data entry part
of you form + 1 filter).
In your current form, you are mixing up data entry part and the display with
filters.
I just emailed you a small example that will help you. The dummy field is
field4. That sample is using some scripting for the button. You may want to
look into scripting as it will provide you lot of flexibility.
Regards,
Franck Dauché
> I have a Dropdown list (say ddl_SubCategory) which gets the list details from
> a xml file. I also have a repeating section which uses these dropdown list
[quoted text clipped - 14 lines]
> Thanks
> Thiru
Thiru - 18 Oct 2005 01:04 GMT
Franck,
In your example, you have shown two repeating sections and a dropdown list
box. What I actually trying to achieve is to use just one repeating section
and a dropdown list box.
And if we choose first option in dropdown list and click the button down
below, it should filter the data in the repeating section so that all
matching fields (i.e current dropdown value = txt_subcategory value) and also
users should be able to add records and in that case, txt_subcategory value
should be equal to dropdown value by default.
When i am trying to do that, txt_subcategory value keeps changing in all
records whenever i change the dropdown list....
Thanks again...
Thiru
> Hi Thiru,
>
[quoted text clipped - 40 lines]
> > Thanks
> > Thiru
Franck Dauché - 18 Oct 2005 02:01 GMT
Thiru,
Well, if you want to simulate this. Delete to top repeating section.
Right-click on the bottom repeating section, click on Properties and allow
user to add and delete sections. Save that newcopy of the form. Try
it.....Do you like the behavior?
If you don't, which I expect, here is an alterative:
- Keep the top table on the Main page as the Data Entry tab.
- Put the drop-down on top of the page like you had before and switch View
as you did to show the filtered data (with no data entry ability). You will
have a total of 2 Views: 1 for Data Entry / 2 for Reporting (Filtered).
Does it make sense?
Regards,
Franck Dauché
> Franck,
> In your example, you have shown two repeating sections and a dropdown list
[quoted text clipped - 57 lines]
> > > Thanks
> > > Thiru
Thiru - 18 Oct 2005 07:17 GMT
The second option looks great....I will have admin page (main page) in which
i will list all records with a link for each record, clicking on it will take
us to the detailed record page. Do i get any samples to start working on this?
Thanks
Thiru
> Thiru,
>
[quoted text clipped - 75 lines]
> > > > Thanks
> > > > Thiru
Franck Dauché - 18 Oct 2005 07:55 GMT
Yes you will..check you email.
Franck Dauché
> The second option looks great....I will have admin page (main page) in which
> i will list all records with a link for each record, clicking on it will take
[quoted text clipped - 82 lines]
> > > > > Thanks
> > > > > Thiru