RDecker Posted May 10, 2004 Posted May 10, 2004 I expected that I could use the "Insert Text" command in a script to insert text into a global field that appears in a Title Header. Is this not possible? It doesn't seem to be working for me. I intended to use that as a means of specifying varying data in the header so that I could use the same layout for multiple reports. Is there some other way this needs to be done? Decker
Sammy Posted May 10, 2004 Posted May 10, 2004 I'm a little lost. Ok, you want to individually specify what you want "Report Title" to be, but you don't want it attached to a record? Why not just make a global field and just type it in? Why script it?
Fitch Posted May 10, 2004 Posted May 10, 2004 You can't insert text into a field that's not accessible. Use the Set Field script step instead.
Sammy Posted May 10, 2004 Posted May 10, 2004 one way to also do it ( a little ugly) is to make white border, invisible and unchecked "Allow entry into field" fields in your layout. Your script can edit them, paste into them, etc, but they will remain invisible to the user.
Fitch Posted May 10, 2004 Posted May 10, 2004 The field must be accessible -- in List view, you won't even see a title header, and fields on a header part won't be accessible for Insert, Paste, etc, even by a Script. Which is why Set Field is so much better -- it doesn't care what layout you're on or if the field is even on it!
RDecker Posted May 11, 2004 Author Posted May 11, 2004 Scripting is more flexible--I can use the same layout for multiple reports and the scripts which find and sort the appropriate records can then insert the correct title, etc. via the global field. Per the other suggestions, I'll try Set Field instead. Thanks. decker
Tripod Posted May 11, 2004 Posted May 11, 2004 I have done this, but I usually report on different variables, so I normally just duplicate the layout. The advantage of scripting the layout changes is that you don't have to do multiple changes on multiple layouts when you decide to change one aspect of all the layouts. The dissadvantage is that it can be a little harder to keep track of, and it takes quite a bit more time up front.
Recommended Posts
This topic is 7505 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