Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What do I get “Database must be compacted to support the use of @AllChildren or @AllDescendents in a formula” errors?

0
Posted

What do I get “Database must be compacted to support the use of @AllChildren or @AllDescendents in a formula” errors?

0

From turtle@fred.net: These are almost never actually related to the use of the R5 @commands @AllChildren or @AllDescendents. What the error thinks is that you’re using these R5 commands in an R4 database. However, if you encounter these errors while changing to a view in a database that is already R5 (ODS version 41) or where you know those commands are not used, it means something quite different. This error can occur when the view index for a particular view has been corrupted. You can compact all you want, you can make new replicas or copies of the database, but the error won’t go away! To fix this, I suggest altering the view selection formula (often, merely changing it from an “easy” view selection to a proper “formula” will do the trick) and saving the database. This will force the view index to be discarded and rebuilt. It may also be effective to change the view’s “Discard Index” property to “after each use” (the default is “Never”).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123