I'm writing a program to assign a value to a field in the customer records based on some calculated sales dollars. There are multiple values that this field can be assigned to and this is driven by where the total sales value falls. I thought the best way to execute this would be by using the CASE statment... but I'm not sure how to say WHEN the value of this variable is between this value and this value, then assign the field to this. I thought this might be cleaner than a bunch of IF THEN statements, but I'm having trouble figuring out the syntax. Is this even a possibility to make work? Or is there another way I should be approaching this? Thanks in advance for your help.
- Marshall
- Marshall