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.

next - previous navigation from detailed record

Featured Replies

I have looked at ways to do this even using Filemakers help article 106538. I have a simple search of an inventory the finds a specific type of item then shows 20 listed results then goes to that items detailed record page.

I want to add a next and previous link to just go to the next record in this found set or the previous record in the found set from my detail page.

I cant get it to work and don

You could use a combination of Javascript and DHTML.

You could assign the 'recids', of the found set, to a Javascript array. Then embed the html of any returned format files into a dhtml layer.

All the best.

Garry

Exactly what you want to do is a little confusing. My interpretation is that once you link into the details page for an item, you want to be able to go to the next or previous detail page for the same selected item.

If so, the problem may lie with the way the details page is set up.... if you have set up the details page like a form - to only display one record - you may not have used [FMP-Record] record stuff [/FMP-record] and other coding generally used on a list page. If you also don't have a -max specified by the link on the list page, then filemaker would display just the first record of the found item, and there aren't 'more' items to display.

Suggestion: Change the link that goes from the initial list page to the detail page to include -max=1, then make sure your detail page is set up in basically the same way you have your list page, with the details sandwiched between [FMP-Record][/FMP-record] etc.. Add the [FMP-linknext][FMP-linkprevious] etc. to this page, and it should work....but I haven't tried this specifically so please let me know.

HTH!

Goo suggestion Meltdown. I was going to post that myself. mprime's original problem stems from the fact that the web user is going to the record detail through finding the recordid, hence all the original search criteria and skip data is lost.

Just changing the -max=1 will keep all the find data and allow the [linknext] and [linkprevious] CDML codes to work.

quote:

Originally posted by Vaughan:

Good suggestion Meltdown.

Thanks Vaughan! You made my day laugh.gif

What happens if the user selects record 15 from the list of 20? How are the details of record 15 shown and the same found set remains in tact?

That's the only step where I'm lost!

Garry

I have used a slightly different approach for this type of thing. One way is to use frames, so that the current list is still visible in a frame with the details in another frame. The other way is to use pop-up windows for the details.

All the best.

Garry

  • Author

thanks but that wont work I have been asked by the customer to do it this way and its driving me crazy!

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.