Newbies bseibel43 Posted August 29, 2008 Newbies Posted August 29, 2008 I have a list of 30 fields that is generated from a database. However, there are not always 30 fields, usually around 15. When I print it for a label, I only want the fields in use to print, not all 30. How do I do this with the script manager? Thanks.
Lee Smith Posted August 29, 2008 Posted August 29, 2008 (edited) See if this doesn't help. Link BTW, this is a Layout Feature, not a ScriptMaker. HTH Lee Edited August 29, 2008 by Guest
Josh Ormond Posted August 29, 2008 Posted August 29, 2008 If you want a more custom approach you could create Calculation field to assemble the list for you. And display that on the label. Example: Field1 = John Doe Field2 = CEO Field3 = Field4 = CyberNet If (IsEmpty (Field1); "" ; Field1) & If (IsEmpty (Field1); "" ; ¶ ) & If (IsEmpty (Field2); "" ; Field2) & If (IsEmpty (Field2); "" ; ¶ ) & If (IsEmpty (Field2); "" ; Field3) & If (IsEmpty (Field3); "" ; ¶ ) & If (IsEmpty (Field4); "" ; Field4 Result: John Doe CEO Cybernet I use sometimes when I need to be able to control what lines data appears on...like if you wanted to combine lines of data. You could also achieve a similar result using a custom function or like Lee said, depending on exactly what you are doing.
Newbies bseibel43 Posted August 29, 2008 Author Newbies Posted August 29, 2008 Worked perfectly, thanks!
Recommended Posts
This topic is 5931 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