March 23, 200124 yr Hello Need to know is it possible to format the data within a calculation field? If so this, this is what I'd like to have happen is for consistant text to be left justified and the data to display right justified/ tabbed aligned somehow!. Below is the current calc. "Title: " & Title & "
March 25, 200124 yr The easiest way to handle this is to use Merge Fields. 1. Create a text field named Title, and a number field for NmbrOfPages 2. Create a script to set the value of NmbrOfPages. This script should be incorporated into other scripts to control when the update should occur. Script: Determine Number of Pages Freeze Window Enter Preview Mode {} Go to Record/Request/Page (Last) SetField [ "Nmber of Pages", Status (CurrentPageNumber)] Enter Browse Mode [] Refresh Window [] 3. In layout mode turn on Text Ruler, then using the Text tool, type the following two lines: Title:[tab character]<<Title>> Number of Pages{Tab]<<Nmber of Pages>> 4. Select the first line with the text tool and set a Left tab stop in the text ruler, adjusting to where you want the Title to begin within the sentence. 5. Select the second line and set a Right tab stop where you want the last digit of the Nnber of Pages to end. 6. Adjust where the lines begin by adjusting the margin stops. Format the text as you see fit.
Create an account or sign in to comment