ibiubu Posted May 24, 2005 Posted May 24, 2005 HELP! I have got some behavior I just cant figure out. I do a search to access a particular record: http://xx.xxx.xx.xxx/FMPro?-db=Research....tures&-find This works as I would expect. I can see my FM database file perform the find, it locates the one record that matches the search. My CDML tags displays my information from the record correctly on my web page, EXCEPT... I have one tag that is not displaying the correct information. [FMP-IncludeField: ifredirect1] What this tag is doing is displaying the contents of the field called "ifredirect1" from a different record other than the found record. In fact, it is displaying the contents from the very first record in the database. Yet every other tag on my web page is displaying information from the found record. I can not figure this out for the life of me. I tried including -Op=eq in my URL, but that makes no difference. Anyone have any suggestions? Larry
Vaughan Posted May 24, 2005 Posted May 24, 2005 I've never heard if the FMP-IncludeField CDML tag, and I cannot find the CDML Reference Db to look it up either. What is the FMP-IncludeField tag meant to do?
Garry Claridge Posted May 25, 2005 Posted May 25, 2005 This is from the CDML DB: =============================== What it does [FMP-IncludeField] is replaced with the contents of a field, usually a text field that contains an HTML format file. Syntax [FMP-IncludeField: Fieldname ] Parameter(s) First parameter: Name of the field to include. Syntax example(s) Include a file using an HTML file [FMP-If: firstName .neq. "bob" ] [FMP-IncludeField: errorPage] [FMP-Else] [FMP-IncludeField: otherErrorPage] [/FMP-If] ================================== I think this may have been removed in FM6. However, [FMP-Include] remains. All the best. Garry
Recommended Posts
This topic is 7191 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