As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at firstname.lastname@example.org and provide your corporate email address, company, and name.
Suppose I have four panels on a dashboard. Panel A calculates X (as well as some other calculations). Panel B calculates Y (as well as some other calculations). Panel C needs to show X and Y. And the fourth is a filter panel with some drop downs and a submit button (we'll call this panel D). The other three panels update whenever this submit button is clicked and they all respect whatever filters are selected.
Now I really hate using redundant code, so ideally for me, panel C will only update when both A and B run and save the results to some place (global variable or maybe a hold file). And I don't want to create a bunch of extra code to achieve this either. The solution I'm looking for should simplify the coding.
I know this can be done with INCLUDE statements, but this can become spaghetti-ish too but more importantly we end up running the same code/query multiple times (though modular code is great, I get it). I'm trying to write code that won't be hard to maintain, neat and efficient.
Any options out there?
Thank you!This message has been edited. Last edited by: FP Mod Chuck,