splodgehodge Posted January 1, 2010 Posted January 1, 2010 Hsppy New Year and thanks all for your help, especially yesterday! I have a field that has a calculation on it that looks at a field and then copies the contents into the field so that I will hopefully be able to use it for printing labels. The calc code I used was: If (AF1L1P1 = "YES" ; AF1L1N1)& If (AF1L1P2 = "YES" ; AF1L1N2)& If (AF1L1P3 = "YES" ; AF1L1N3) etc... The problem is all the text copies but leaves no spaces inbetween. I would like a line break inbetween the text. Is this possible? Thanks all
efen Posted January 1, 2010 Posted January 1, 2010 (edited) If (AF1L1P1 = "YES" ; AF1L1N1)& "¶" & If (AF1L1P2 = "YES" ; AF1L1N2)& "¶" & If (AF1L1P3 = "YES" ; AF1L1N3) Edited January 1, 2010 by Guest
efen Posted January 1, 2010 Posted January 1, 2010 Case ( AF1L1P1 = "yes";AF1L1N1 & "¶";"") & Case ( AF1L1P2= "yes";AF1L1N2 & "¶";"") & Case ( AF1L1P3 = "yes";AF1L1N3 & "¶";"") to remove any space if one is not "yes"
splodgehodge Posted January 1, 2010 Author Posted January 1, 2010 Thanks for that. Worked first time. Have a great new year.
Recommended Posts
This topic is 5440 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