Newbies Auri Posted June 11, 2001 Newbies Posted June 11, 2001 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.
scratchmalogicalwax Posted June 11, 2001 Posted June 11, 2001 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 ]
Recommended Posts
This topic is 8634 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