nickbarnes
New member
- Local time
- Today, 08:22
- Joined
- Aug 23, 2011
- Messages
- 9
Hi there,
I really hope someone can help before I tear my remaining hair out!
I have a web form "ExchangeView" which is populated with data from the "Exchanges" table. Attached to "ExchangeView" is a subform "PCPList" which pulls data from the "PCPs" table and displays it in datasheet view. The form and subform parent/child link is a field called "UID".
This all works fine within Access but this is a web database hosted on SharePoint and the "PCPs" table has just under 25,000 records. This means that due to SharePoint's 5,000 query limit, when the database tries to filter the "PCPList" subform by the parent/child link "UID" it goes well over the 5,000 limit! Which in turn means I get the following error:
"Failed to retrieve list data. Please try again."
Obviously it doesnt matter how many times I try again. The only way to solve this is to remove most the records from the "PCPs" table so that there are only 5,000 left. Then the query can run successfully.
I've got one, really annoying solution which is instead of using the "PCPList" subform, I could put a command button on the form and set it so that it opens the "PCPs" form in a dialog box and filters it by the "UID" field from the "ExchangeView" form.
What I really want though is the subform option so that users can easily check which "Exchanges" records have an associated "PCPs" record without having to click the filter button everytime the main record is changed and then close the resulting dialog box when they find its not what they were looking for.
Is there any way I can do this with a web-compatible macro or module of some kind? I can remove the parent/child links so that the full "PCPs" table is shown in the subform but how can I get it to automatically filter based on the "UID" field on the "ExchangeView" form?
Please be gentle, Im pretty new to this whole access thingy.
Thanks for any help you can give!
Nick
I really hope someone can help before I tear my remaining hair out!
I have a web form "ExchangeView" which is populated with data from the "Exchanges" table. Attached to "ExchangeView" is a subform "PCPList" which pulls data from the "PCPs" table and displays it in datasheet view. The form and subform parent/child link is a field called "UID".
This all works fine within Access but this is a web database hosted on SharePoint and the "PCPs" table has just under 25,000 records. This means that due to SharePoint's 5,000 query limit, when the database tries to filter the "PCPList" subform by the parent/child link "UID" it goes well over the 5,000 limit! Which in turn means I get the following error:
"Failed to retrieve list data. Please try again."
Obviously it doesnt matter how many times I try again. The only way to solve this is to remove most the records from the "PCPs" table so that there are only 5,000 left. Then the query can run successfully.
I've got one, really annoying solution which is instead of using the "PCPList" subform, I could put a command button on the form and set it so that it opens the "PCPs" form in a dialog box and filters it by the "UID" field from the "ExchangeView" form.
What I really want though is the subform option so that users can easily check which "Exchanges" records have an associated "PCPs" record without having to click the filter button everytime the main record is changed and then close the resulting dialog box when they find its not what they were looking for.
Is there any way I can do this with a web-compatible macro or module of some kind? I can remove the parent/child links so that the full "PCPs" table is shown in the subform but how can I get it to automatically filter based on the "UID" field on the "ExchangeView" form?
Please be gentle, Im pretty new to this whole access thingy.
Thanks for any help you can give!
Nick