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.

Featured Replies

Hi everyone,

I have a databas that has Invoices and PO's. They are in the same table. When a user clicks on the "Invoices" button, the script goes to the all the records that are marked as Invoices, and the same with PO's. I have a constant field marked as "Invoices" and one marked as "PO". I have a relationship between the constant field and a field called "Invoice_PO". (A "New record" script creates the new record and propagates this field with "Invoice" or "PO" depending on the script parameter). I have two fields called "Total_PO" and "Total_Invoice". What I am trying to do is have this field on their respective layouts and show the total of each. The current calculation for each is:

get(TotalRecordCount) "Evaluate this calculation from the context of" the relationship between the constant and the Invoice_PO field.

Shouldn't this work? I can't get it to.

Thanks

Any help would be greatly appreciated

Hmm. Get(TotalRecordCount) returns the number of records in a table. Did you intend to use Get(FoundCount)?

  • Author

Thanks for responding so quickly,

Heres the thing. I have a found count field so if someone needs to find invoices from a certain date they can. But I still would like them to have a field telling them the total number of invoices. I want to eliminate the status area and set up my own. with the found count and total count.

In that case, Count(PORelationship::serial) and Count(InvoiceRelationship::serial) should do it.

  • Author

That worked perfectly. I had my relationship backwards and that was screwing me up. Thank you so much.

Create an account or sign in to comment

Important Information

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

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.