Totes Posted August 1, 2006 Posted August 1, 2006 (edited) Hi, Is it possible to have a report title on the printed page pull from the script name? If the script is called Jelly...can the report title print out Jelly ? Thanks, Jim Edited August 1, 2006 by Guest
SteveB Posted August 1, 2006 Posted August 1, 2006 Sure...there is a Get Function called Get(ScriptName). Steve
Totes Posted August 1, 2006 Author Posted August 1, 2006 I must have looke over that one at least a dozen times... After I slowed down a little I saw it. Thanks for the information. Jim
Newbies RangerJoe Posted August 2, 2006 Newbies Posted August 2, 2006 I hope this is not too much of a newbie question but how do you get the name of that script to print out on the report. I assume that this would be useful so that you would only have to make one report and not one for each title you want. Is that correct. Thank you in advance. Joe
Newbies RangerJoe Posted August 2, 2006 Newbies Posted August 2, 2006 Ok I have been banging on this one for over an hour now with no luck. Im I headed in the right direction with a setfield? Any help would be appreciated more than you know. Thank you in advance, Joe
Newbies RangerJoe Posted August 2, 2006 Newbies Posted August 2, 2006 I still do not have the solution. Anybody? I now do not think the setfield is the right direction. Joe
Ender Posted August 2, 2006 Posted August 2, 2006 Use a Text field with global storage for the report title. Place this field on the top of each report layout. Then use a Set Field[] script step in each Report script to populate it. I suppose you could use that get(scriptname) function, like this: Set Field [ gReportTitle ; Get(scriptname) ] but I prefer to set report titles with literal text. This way I can have different (and more meaningful report titles) than what the script is named. This is especially useful if you have scripts that run multi-purpose reports, or reports with many options (like different Sort options). In this case, the script step would look something like: Set Field [ gReportTitle ; "Employee Listing (by Date of Hire)" ]
Newbies RangerJoe Posted August 2, 2006 Newbies Posted August 2, 2006 Thank you. I am working on my first report, and the book I have was kind of leading me in the right direction but it just seemed to drop off to another subject. So I was left guessing that a setfield was where I should be going. If I may ask, is there a good book for a total beginner you could recommend? I have one titled getting started with Filemaker 8, but it seems to be on the shy side as far as indepth topics. Thanks for taking the time. Joe
Ender Posted August 2, 2006 Posted August 2, 2006 I'm not really sure, Joe, as I don't read the FileMaker books. I'm more of a dive-in-and-see-how-it-works kind of guy. (Although this strategy failed me when FileMaker 3 came out. Didn't learn about portals for several months. ) I've heard good things about the Special Edition Using FileMaker books (and the authors seem like pretty bright people when you meet them.) You might check the FileMaker Resource section of the forums, as I'm sure this question has been asked before. I think the FMPug also publishes reviews about various books and thingys.
Recommended Posts
This topic is 6692 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