June 11, 200124 yr Newbies Hello, Let's say I'm creating a glossary. I'd like the user to be able to click on a letter of the alphabet (we'll say 'B') whose link causes FMP to load another page with all the terms and definitions in the table and then scroll the user to the letter that they clicked on (like an anchor). I've tried to use anchors by including a '#B' after the -Format tag but FMP doesn't like that. Any ideas? I've tried using Javascript but it doesn't always work in all browsers and I'm looking for something that's more consistent. Thanks.
June 11, 200124 yr I've edited this cos I miss read the question!! if you want to do a find on records based on the first letter in data in a particular field you could try the begins operator (operators don't work too well with WC!) or add a field to the record with the first letter in it then find on that. (you could extract the first letter with a calculation field but I don't recommend searching on calculated fields as they can't be indexed, it will work but it isn't as fast) you then have the same response file but the database will only return the records that begin with B so no need to scroll you will have to add the [FMP-Records] HTML/CDML to repeat for each record [/FMP-Records] to the -Format file to tell the database to repeat for each record found. [ June 11, 2001: Message edited by: scratchmalogicalwax ]
Create an account or sign in to comment