July 8, 200223 yr I have a client with a database inventory online. using CDML. I have a main search.htm page that searches based on product type. that shows a results list. The from the results list you can click on a product and view that product. pretty simple and straight forward. NOW how using CDML that works since I have tried all the "Filemaker Solutions" (that have not worked) do I get it to go to the next record in found set from that final detailed product page? I do not want to use frames or Javascript is this not possible through CDML?
July 8, 200223 yr Guessing game. >from the results list you can click on a product and view that product Here, I guess, you are using fmp-linkrecid. >how ... do I get it to go to the next record in found set What found set. Your last action took you to one record (a found set of one) I believe.
July 8, 200223 yr Have you got the CDML Reference database? It lists all the CDML tags... the one you want to read about is [FMP-LinkNext]
July 9, 200223 yr This is entirely off the top of my head, but it's worth a shot. I'm guessing that your problem lies within the link from the list of records to the record detail. In your listing, try something like this: [FMP-Record] <a href="[FMP-Link:rkm]&-Format=Detail.html&-Skip=[FMP-CurrentRecordNumber]&-Max=1">[FMP-Field: FieldName]</a> [/FMP-Record] The [FMP-Link:rkm] will insert the link that found the current list, but return the details page (where FMP-LinkNext and FMP-LinkPrevious should work now), one record at a time, starting with the current record. Give it a try and let me know how it goes.
July 9, 200223 yr I think Keith may have hit the nail on the head... it's your process that's stopping the LinkNext tag from working. You've got to follow the find-results-detail process. Take a look at the sample HTML format files to see how it works. Otherwise you're going to have to start tracking criteria with multiple tokens or cookies, and it all gets terribly difficult and complicated very quickly.
Create an account or sign in to comment