12 posts in this topic
Hi, I’m really Stuck , any suggestions would be most appreciated.
I need to replicate a particular behavior of the PopOver that is inside a Portal.
When inserting or editing portal Rows via popOvers, the data updates in the portal before “committing”.
Trying to replicate this behavior according to this rules:
-. Using Transactions and Data modeling.
.- Data not updated at the portal before committing (refreshing portal by trigger or exiting a field doesn't work).
.- Data not updated at the portal as inserts or edits are been made (same as above).
.- Inserts or Edits are made outside the portal in the same layout (no modals, Using SlideControl).
.- Not using PopOvers inside portal.
.- Portal is not accesible by user it only shows the list of items been inserted or updated.
I have tried different approaches but no solution yet, trying to replicate behavior has been very frustrating.
Filtered Single Line portals and Magic Key with different Techniques and different relationship approaches, I have not tried Globals via Scripts which I presume could be a solution but don’t have much to start with!!!.
For the record:
A few months ago I started implementing “Selector Conector and Transactions”, I´m not so sure I have correctly implemented this.
I have prepared a Sample file (is not the actual solution) with very simple use of Transactions and Data Modeling, it shows different approaches I have tried. Used some technics learned here at this forum which have been very helpful.
Approaches number 1 and number 2 from the Sample file are not the preferred, but merely show the behavior I´m trying to replicate.
A script at start creates small window that shows records are been created in child's table even tough it won’t update the portal before commiting when using technics 3 and 4 from the Sample file.
Hope my explanation makes any sense.
Thanks in advance, and cheers to all
PS.: Check the green Framed Portal at the right hand side of the layout´s Sample file for a cool technique that I designed, it uses “Hide Object when”, and a combination of formatting the Button and portal row (Padding), which makes the illusion of an X circle appearing on the right side when Hovering portal rows, mostly used for deleting. Hope any one has a use for it.
I created a database to track permits by building. Each permit type is stored in its own table. The only link between tables is the Building Name which is the physical location where the permit exists.
v_Buildings (fields include building name, ID, building status, address, city, state, zipcode)
Air (ID, Building Name, Expiration Date, Days_to_Expiration, Type, etc...)
...9 permit types in all, and I will add more in the future
Each of these tables has the same fields in common:
I created a Dashboard layout with the idea that users could select a building name from a drop-down menu and then see all of the permits for that particular building along with their expiration date and the permit owner's name. I am just baffled as to how to do this across multiple tables. I have looked at SQL, Join tables, portals etc...., and I cannot figure out how to aggregate all of this information into one view for users. I cannot even seem to figure out what table should be used for the Dashboard layout. I would love to hear from the community the best and hopefully scalable approach for designing this layout. Thanks in advance from a novice user.
I'm using a field-based value list in conjunction with a filtered portal based on a relationship. The filtered portal seems to be working fine. However, "1" and "0" are showing in the value list though neither of those values are in any records.
Issue #2 is that unless I include "IsEmpty (fieldname)" in the calculation field used in the relationship, all my portal fields have to contain data or the record doesn't show in the portal. In other filtered portals, I've never added "IsEmpty" to the calculation field and records have shown in the the portal regardless of empty values (see yellow highlight in screenshot).
Thanks for any insights on these two issues.
I can't figure out how to subtract the total of several child records from a starting value in a parent record: Sounds simple, but it's got me stumped!
My database is designed to issue Emissions Reduction Credits to companies for reducing or eliminating sources of air pollution. Those companies then later use those credits to offset new construction, sell them to other companies for cold, hard cash, transfer them to other companies, etc. The initial issuance is all on one Certificate and there can be between one and five pollutant credits on each individual Certificate. A company can own many certificates, but a certificate can only belong to one company. Once issued, a company can use the credits all at once or (more likely) a little at a time. After each use/expenditure of credits, the certificate is reissued with the new balance of credits listed on it. Thanks to a lot of great help in the Relationship subforum (Thanks again, Don and Bruce!), I've got the basic architecture down and issuing the initial credits works just like it should and the FIRST instance of credit usage calculates the new balance correctly, but when subsequent uses/expenditures are entered, the new balance ignores any previous expenditures.
I've tried dozens of different calculations, added TOs, lumped all transactions into one TO, filtered portals, and barked at the moon, and nothing works (though I did manage to scare the bejeezes out of my cat!)
I have attached my semi-sorta-solution to help clarify my problem. It should open to the "Certificate" layout - the bottom portal has the usage data that isn't calculating the new balances correctly. Any help in getting this up and running would be most appreciated - thanks in advance for sharing your time and talents.
FMPA 15, Windows and Mac
ERC Registry v2 ModBFR Bad ERC Balance.fmp12
By Roger Tuan
Is it possible to sync data in a Filemaker portal to an external MySQL database? For example, an invoice listing multiple products stored in another table (assuming I only want the information in the portal, such as qty, name, price).
Or do we have to manually sync all related tables behind the scenes and then re-create the relationships using joins later?