Daryl Posted February 21, 2007 Posted February 21, 2007 I need a page numbering syntax on a report to report "1 of 10" for the current page of the number of all pages. I have the (## of ) part down, I just don't remember how to get the total pages variable. Thanks
Genx Posted February 21, 2007 Posted February 21, 2007 (edited) You can only achieve this via a script and a global field... Freeze Window Enter Preview Mode[] Go To Record / Page[ Last ] SetField[ table::gLastPage ; Get(PageNumber) ] Go To Record / Page[ First ] Then for your merge field down the bottom just use Page ## of << table::gLastPage >> Edited February 21, 2007 by Guest
Dchall_San_Antonio Posted March 5, 2007 Posted March 5, 2007 Genx! You're the one who asked me on another forum why I didn't want to use FMP instead of Word for mail merge. Your reply above is a better answer than I could have come up with. The problem with FMP is you have to write scripts to make it a halfa$$ed word processor. Don't get me wrong, I sincerely appreciate your expertise and especially your willingness to help. If you ever have any organic gardening questions or need to buy some mineral rights in Texas, write to me.
Genx Posted March 5, 2007 Posted March 5, 2007 I *have nothing against word processors, I just think that in a lot of cases (and for most people), the capabilities of FM are full featured enough (or the people who ask the question should at least be given the option of the knowledge that their problem can sometimes be solved natively within FM)... e.g. for the composition of letters and similar basic mass marketing solutions where strictly text content is enough... The page numbering feature is well past it's inclusion date (should have been in FM ages ago) and mixed content fields are really missing at this stage as well.. So yes i agree with you, to a large extent, but still think people deserve to know the option is available given that in some industries, text is still enough.
Recommended Posts
This topic is 6474 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