Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6216 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I know this is a basic calculation, but I am brain dead today... Is there a way to have a field count the current records. If you have 10 records in a layout, the field says "10" like on the sidebar, but in a field...

Thanks

Posted

I have a set of databases linked together. the Main Menu is the navigation between all of the databases. Investigation, contacts and so on. All are linked by relationships but seperate .fp7's. I need to show the number of records in each .fp7 on the Main Menu.

Posted (edited)

If I understand you correctly is that you want to know how many records are available in a particular table while you oer on the main menu which has ONE record? if that's the case, you can do it by creating a cartesian product relation. Use the "x" instead of your usual operator "=" for the relation and base your count calculation on the cartesian product.

NOTE: in pre-FM7 most developers used common_one and relate using a calculated "1" for the relationship.

Edited by Guest
Posted

I just found out that if the records are deleted, the number listed in the menu stays at the last count and does not revert backwards. Thus if there were 5 records in investigations, and we delete them, the number in the main menu stays at 5... So it counts up but does not go back to 0. I think I need another way of counting the records...

Posted

doesnt work either since there are no actual relationships, just table references in the relationships.

Create the relationships needed and create the unstored calc field in each file and display the fields from the other tables in the main menu.

Michael

Posted

Please bear with me, I am really bad with relationships...no phun intended : But how do I make a relationship between the main menu with no relating fields in it but globals? If there is no data in a set field because the Investigations.fp7 has no records, how can it relate to the Main Menu?

Posted

It is amazing what you can figure out when you start telling yourself, you look real bad...you have been doing this for a long time, they must think you are drunk... I just had to stand back and look at it logically without all the emotion..

This topic is 6216 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.