Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8396 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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!

Posted

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.

Posted

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

This topic is 8396 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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