on 09-23-2008 11:24 PM
Hi All,
How do you create a formula in the formula editor that allows you combine several fields onto one column. An example: if I wanted to combine a street address onto one column when it is several fields in the data base. I know I need to seriously work on my coding, because it probbably is not that difficult. I've tried slect statementw with Case True and different If then else statements, but I am not getting all of value to return.
Regards-
Hi Kyle,
By the sounds of your description, in Crystal Reports you can create a formula to concatenate string type database fields. For example,
{database.field1} + " " + {database.field2} + " " + {database.field3}
If this is not what you're looking for please reply with additional information.
Regards,
Wallie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kyle,
To avoid null values you need to convert "Default values for nulls" in the formula editor.
Edit your formula
{database.field1} + " " + {database.field2} + " " + {database.field3}
and in formula editor at the top you can see a dropdown list with "Exception for nulls" change this and select "Default values for nulls"
Now you can avoid the nulss in output
Regards,
Raghavendra
This sounds like a reporting question. What reporting software are you using? I'll transfer your post for you.
Regards,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.