kulmansam Posted January 8, 2002 Posted January 8, 2002 I have created CDML codes with my HTML and I have a SEARCH FORM, which searches the database of the cemetery and then returns the findings to the RESULTS PAGE (tabular sheet)... it displays 10 records at a time and I found out how to put links to display the next 10, previous 10, first 10 and last 10 records. However, when the 10 records are displayed, I have been able to insert CDML code which gives a link besides each displayed record saying, click here for details. Supposedly when you do click, it should take the viewer to TETAILS record PAGE. I have saved the RESULTS PAGE as DETAILS record PAGE and added some more (CDML Code) fields. But when some one clicks on the link in RESULTS PAGE, it opens the DETAILS PAGE and just shows me raw CDML code instead of the actual record... what code do I need to insert in which of the 3 pages (SEARCH FORM PAGE, RESULTS PAGE, DETAILS PAGE)
Garry Claridge Posted January 8, 2002 Posted January 8, 2002 In the link to the details page, are you using a full FMP url, or are you just calling the page? You still need to call that page with an FMP url (or form). Garry
kulmansam Posted January 8, 2002 Author Posted January 8, 2002 Honestly this is my first attempt into this type of thing, but these are two links that I have in RESULTS PAGE (besides each record) <td width="123"><a HREF="GCDBdetailresult.html">Record Details</a></td> <a href="FMPro?-db=gcgraves 1.2.fp5&-format=GCDBdetailresult.html&-lay=GCDB Online Form&-recid=0A&-find">More detail</a> RECORD DETAILS: The first link takes me to DETAILS PAGE (GCDBdetailresult.html), and shows me the raw code (posibly because its not in anyway connected to FMP files) MORE DETAILS: The second link attempts to open DETAILS PAGE but returns with a message saying "Record not found,, specified record was not found"
Garry Claridge Posted January 8, 2002 Posted January 8, 2002 Try this: <a href="FMPro?-db=gcgraves 1.2.fp5&-format=GCDBdetailresult.html&-lay=GCDB Online Form&-recid=[FMP-CurrentRecID]&-find">More detail</a> This is similar to Kent's thread about [FMP-LinkRecID] (Passing the Token). You can use [FMp-LinkRecID] instead of the full URL above. Getting there! Garry [ January 08, 2002: Message edited by: Garry Claridge ]
kulmansam Posted January 8, 2002 Author Posted January 8, 2002 Anatoli By CDML reference do you mean the CDML tool from FM site? (I have that) or do you mean actual reading material? If reading material, where can I download something? for Free!!? thanks
Garry Claridge Posted January 9, 2002 Posted January 9, 2002 Try this URL: http://www.filemaker.com/downloads/index.html#cdml It contains the "CDML Reference" database. It is colocated with the "CDML Tools" database, so may have it already. All the best. Garry
kulmansam Posted January 9, 2002 Author Posted January 9, 2002 Thanks Gary, I actually have downloaded the tool and I have used it to generate several codes. But I guess I need to dig in my computer to see if it has also brought with it other sample pages or CDML reference. I was able to download 'Complete CDML Tag Reference' and I will look at it this morning too, to see if it answers my questions Thanks a lot all input appreciated.
kulmansam Posted January 9, 2002 Author Posted January 9, 2002 GARY! I don't know how I missed your little correction yesterday, what you posted just before Anatoli. I tried it this morning and YESSS it works THANKS again for your help
Recommended Posts
This topic is 8691 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 accountSign in
Already have an account? Sign in here.
Sign In Now