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 please see attached file.

I have 3 tables 1 that stores users, 1 that stores books, and 1 that stores books read.

What i am trying to achieve

In the Users layout i want to show a portal showing all available books from the books table, but i want to highlight using conditonal formatting all the books read by the user.

Please help as i am seriously stuck on this

Thanks

mark

test.fp7.zip

Like the attached - you need to change your table key fields to serial numbers rather than use user names/book names as links

test1.zip

Sorry - unfinished file/wrong relationship in previous post - use this one

test1.zip

  • Author

Hi, an Thanks for your help.

However the Date Read shown on the users page for all books doesn't work. It shows the same values for all users.

Sorry

Thanks again.

Why these?

wtf.png

Leftover from original (message 3).

A few improvements now added:

test.fp7.zip

  • Author

Hi thanks for all your help on this, i'm really grateful, however, these solutions don't address my original dilemma.

I was wanting to show 1 portal showing all the books available, then by using a calculation field if the book had been read by this user, bring the read date from the books read table.

I was then going to use conditional formatting to highlight any of the books that has been read.

User Mark Reynard

Books Available Read Date

Filemaker 10 Beginners 24/01/2011

Filemaker 11 Beginners 25/01/2011

Filemaker 11 Server

User Dan Hepworth

Filemaker 10 Beginners 01/10/2010

Filemaker 11 beginners

Filemaker 11 Server 24/03/2011

I hope this makes sense. I know they'll be a way to do it, just cant get my head around it, Thanks again for all your help.

mark

No, it is not as easy or clean as you think to put them in the all-books portal.

test.fp7.zip

I was wanting to show 1 portal showing all the books available, then by using a calculation field if the book had been read by this user, bring the read date from the books read table.

I was then going to use conditional formatting to highlight any of the books that has been read.

It is quite easy to highlight the books read by the current user. It is not so easy to include the date read in the AllBooks portal. The date read is not an attribute of a book - the same book has different dates read, by different users. The book record does not know which user record you are currently viewing.

The solution for this is to have a global field in the Books table indicating the currently viewed user record (populated by a script triggered OnRecordLoad in the Users layout). Then you can have a relationship between AllBooks and BooksRread matching on BOTH BookID and gUserID and place the date read from the matching record in the portal.

  • Author

Hi, could you explain the easy method to highlight the books read by the current user, as this is effectively all i need to achieve.

Thanks

mark.

Hi, could you explain the easy method to highlight the books read by the current user, as this is effectively all i need to achieve.

And that already exists in the example I posted.

Look at the conditional formatting applied to the button in Bruce's latest file.

  • Author

Thanks everyone for all your help.

It works,

See attached, many thanks

test 8.fp7.zip

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.