Newbies fuzzyslippers Posted January 9, 2012 Newbies Posted January 9, 2012 This seems so simple by I'm stumped. If(IsEmpty(Cat Appliance);""; "Appliance Cookbooks" & ">" & Cat Appliance & ";" returns exactly what I need it to: Appliance Cookbooks>Data from Cat Appliance Field; now, I need to go on so I end up with this: Appliance Cookbooks>Data from Cat Appliance Field;Ethnic Cookbooks>Data from Ethnic Cookbook Field; So is there a way to string two If statements together or should I be using something else?? If(IsEmpty(Cat Appliance);""; "Appliance Cookbooks" & ">" & Cat Appliance & ";" If(IsEmpty(Cat Ethnic);""; "Ethnic Cookbooks" & ">" & Cat Enthic & ";" Thanks! fuzzy
comment Posted January 9, 2012 Posted January 9, 2012 If(IsEmpty(Cat Appliance);""; "Appliance Cookbooks" & ">" & Cat Appliance & ";" returns exactly what I need it to: I don't think so, because the parentheses are not balanced. Anyway, you can concatenate the results of If() statements the same way you concatenate other strings = If ( not IsEmpty ( Cat Appliance ) ; "Appliance Cookbooks>" & Cat Appliance & ";" ) & If ( not IsEmpty ( Cat Ethnic ) ; "Ethnic Cookbooks>" & Cat Ethnic & ";" ) 1
Newbies fuzzyslippers Posted January 9, 2012 Author Newbies Posted January 9, 2012 Perfect, woo hoo, thanks so much.
Recommended Posts
This topic is 5041 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