the_kid Posted March 7, 2012 Posted March 7, 2012 Hi, I have two tables with related "department" fields: Awards (table) Department (text field) Person (text field) Grant_Contract (text field) Department (table) Department (text field) Contract_Person (text field) Grant_Person (text field) If the Departments are the same in both tables I'd like to pull in the appropriate person from the Department table based on the data contained in the Awards::Grant_Contract field. Example: If the Awards::Grant_Contract field = "Grant" then the Awards::Person field = Department::Grant_Person field. I've tried this caluculation for the Person field in the Awards table: Case ( grant_contract = "grant" ; GetField ( "department::Grant_Person" ); grant_contract = "contract" ; GetField ("department::Contract_Person")) But it's not working... Any help is greatly appreciated.
the_kid Posted March 7, 2012 Author Posted March 7, 2012 Cheese and crakers! I figured it out and it was too simple. The calculation should be: Case ( grant_contract = "grant" ; department::grant_person ; grant_contract = "contract" ; department::contract_person ) My apologies for posting needlessly.
Recommended Posts
This topic is 4701 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