![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Then along comes FM11 with 'portal filtering'! This looks real sweet at first blush but I'm wondering how much re-design I should do because of it. If one were to take this feature to the extreme you could set a single relationship into your child table (ex - interface into transactions where interface::global_filter<transactions::transID with global_filter being set to 0 and transID being an AE serial number). That would provide visibility of ALL records in the child table which could then be filtered at will in portals. My quandry is - how would this type of design affect performance if the transaction table has 100K records and growing? |
#3
| |||
| |||
|
|
GSteven wrote: Then along comes FM11 with 'portal filtering'! This looks real sweet at first blush but I'm wondering how much re-design I should do because of it. If one were to take this feature to the extreme you could set a single relationship into your child table (ex - interface into transactions where interface::global_filter<transactions::transID with global_filter being set to 0 and transID being an AE serial number). That would provide visibility of ALL records in the child table which could then be filtered at will in portals. My quandry is - how would this type of design affect performance if the transaction table has 100K records and growing? You absolutely, positively DO NOT want to do this!!!! Portal filtering is fine for filtering a record set down from a few hundred or maybe a thousand or so records. But it is NOT meant as a substitute for relationships. It is SLOW, SLOW, SLOW. And if you have your portal sorted, as well, then forget about it. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg FM Professional Solutions, Los Angeles Member, FileMaker Business Alliance |
#4
| |||
| |||
|
|
Howard, Good to hear from you. I'm glad you weighed in on this and I can certainly see how that would be the case. I need to do my homework here I guess and take a fresh look at my relationship graph. It certainly is complicated and resembles the classic spider graph. A result of developing on the fly without a proper design process. Thanks again, Steve |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I confess I know little to nothing about the inner workings of FM. In a previous life I was able to create and break relationships on the fly with script commands (and sure do miss it). But if I try to compare what FM is doing to a SQL 'select' statement it would seem that the relationship would be the 'where' clause and the portal filter would be the 'having' clause. Does this make sense to anyone? |
![]() |
| Thread Tools | |
| Display Modes | |
| |