AnthonyDixon Posted September 1, 2010 Posted September 1, 2010 I have a table that contains five different date fields and I am trying to create a status field based on if a date has been entered into into one of the date fields. For example if date received contains a date then the status would be "Open" if date quoted contains a date then the status would be "Quoted" and so on. I have tried using the case function but it seems to only work base on one field. I'm a little lost. Any help would be greatly appreciated. Thank You Anthony
comment Posted September 1, 2010 Posted September 1, 2010 Try = Case ( ... DateQuoted ; "Quoted" ; DateReceived ; "Open" ) Note that the order of tests is important - the first test to evaluate true will determine the result.
AnthonyDixon Posted September 2, 2010 Author Posted September 2, 2010 Worked perfectly! Test order did make difference, but got it sorted out. Thank You! Anthony :smile2:
Recommended Posts
This topic is 5255 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