Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Getting Sum() in a portal

Featured Replies

I've spent the last 1 1/2 hours reading and searching to find this answer so please help. I'm sure I'm missing some stupid little step hear. We get paid monthly advances towards our final billing. I'm putting together an invoice that calculates the total fee and deducts advances and gives me a balance. My first thought was to have a summary field that sums all advances. I put this in a portal on the advances layout. Then I would also calculate the final fee (Based on a percentage of the annual salary) and write another calc that would deduct expenses from fee_amount. Ok, so everything in the layout is working fine, but, when I look at the Total_Advances field it only gives me the amount in the first record of the portal. I know I've seen this discussion somewhere before , but I can not find it. Additionally, I noticed that even though the portal is showing the correct number of advance payments tehhetell me what is wrong.

Thanks,

Al

Hi,

What is showing in the portal ? Line Items or a list of Advances ? Summary fields works well with relations now with 7 and 8, even within portal records.

I don't know though how yours is set up. A small test file could help identify the issue.

  • Author

Ciao Ugo:

I have uploaded a pdf file showing all the tables, relationships and layouts. If you explain how, from this, I can put together a small test file I'll be happy to do it.

My relationships are getting enormous. When I worked with Lotus Approach it was much easier to develop and maintain relationships. I fear this could be my downfall.

When I first started this project I didn't realize that FM was similar to Access in that you can set up your tables within one DB structure. So, I set up Job_Orders, CompanyDB and Contacts as separate databases. After about 2 - 3 weeks and a hell of a lot of work developing relationships and layouts I realized you could add more tables to each database. Therefore, the multiple external db's.

I hope you can give me some suggestions as there are just a few more items I need to get running and I think I can put this project to bed. One of the main reasons I didn't just buy FMRecruiter off the shelf was they don't have a billing function. So, this is a critical part of my application.

Thanks,

Al

Sum_problems.pdf

  • Author

Ugo:

Ho imbarazzato. Ho fate una brutta figura.

I'm trying to write this in Italian because that's how silly I feel.

I was using a calc field rather than a summary field. I changed it and it is working fine! :

Thanks for trying to help.

Al

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.