February 4, 200223 yr 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
February 4, 200223 yr 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
February 4, 200223 yr 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!
February 5, 200223 yr 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.
February 5, 200223 yr quote: Originally posted by Vaughan: Good suggestion Meltdown. Thanks Vaughan! You made my day
February 5, 200223 yr 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
February 5, 200223 yr 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
February 5, 200223 yr 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