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.
Juggernaut

Unique Text Fields in Portals

Featured Replies

Hi - I have timesheet history table which stores hours, by staff position (eg: Coordinator, Manager, etc.) againts Projects. Each record also stores the Project ID along with other information. There are multiple records for each project.

My problem is that I want to have a portal in my Project table which shows the position and total hours from the history file (I think through a combined Project ID_Position ID relationship).

I can get the subtotals for hours to work but how do I limit the # of times a Position appears in a portal. The Coordinator may have 10 records with a total of 50 hours recorded. I want only one line to appear in the portal for each staff position with the total recorded against that position.

Right now using the combined relationship of Project ID and Position ID, I show one line in the portal for every Coordinator record (although the total hours for the coordinator shows correctly).

The system works fine using a bunch of calculation fields but it's cumbersome and doesn't lend itself well to adding in new positions in the company.

Again - any help is appreciated.

thanks

Debra

Hi Debra,

On the history table, you can create a summary field TotalWorkingHours that totals the number of hours, and then another calculation field HoursPerPerson that calculates the number of working hours per person; use the fuction GetSummary, with TotalWorkingHours as the summary field, and StaffID as the break field. Remember that you have to sort by StaffID for it to work. If you put it in a portal, you have to sort the portal by StaffID as well.

I hope that is what you are asking for.

Best Regards,

Alejandro

Edited by Guest

  • Author

Hi Alejandro - thanks for responding to the question. In the system I built for my current agency that was exactly the solution I used. And it worked great, but when our history file got to over 40,000 records it was SOOO slow. So I was trying to come up with another alternative. But I think you may have the right answer on this particular application - it's for a very small agency so total history records would probably stay fairly small. I'll think I'll go that route.

Thanks

Debra

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.