vivin007 Posted January 4, 2010 Posted January 4, 2010 i have 2 fields one is "religion" (text) and the other one is "Parish or horoscope" (text).I want a calculation so that if i type "christian" in the field "religion" then the field "Parish or horoscope" should be automatically typed with "Parish" and if i type "hindu" in the field "religion" then the field "Parish or horoscope" should be automatically typed with "horoscope".. can any one help me please..
Zcast Posted January 4, 2010 Posted January 4, 2010 Try this. They're are other ways to do this also. religion.fp7.zip
Newbies zazen Posted January 6, 2010 Newbies Posted January 6, 2010 Redefine your "Parish or horoscope" as a CALCULATION field with the RESULT being TEXT and the following as the calculation (you can copy and paste it) Case(religion = "christian"; "parish"; "horoscope") This calculates for the 2 results you wish for. The above function operates, in plain English, as "if this person is a Christian then this field will be PARISH. Otherwise it will be HOROSCOPE". You can add to this if you wish. Let's say you wanted to add Buddhist with the result "dharma". Your function would be as follows: Case(religion = "christian"; "parish"; religion = "hindu"; "horoscope"; "dharma") Hope this helps!
Recommended Posts
This topic is 5505 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