How can I code a case select statement with if/then's in them. Case statements are not my strong point, but it seems like in this situation it may work best.
I have 8 types of billing. I want to use a case statement to select the type of billing....example
Select Case Bill_IDType
Case Bill_IDType 1
Case Bill_IDTYPE 2 etc. up to Bill_IDType 8
Once in a Case selection, I need to have some criteria checked.
No matter what case is selected , then I need to check to see if TransType is L or P. If L is the answer it needs to check to see if Paid_on is P or B. after these checks it edits the record based on the initial case (The case will indicate the percentage to be multiplied on)
Can someone give me an example of how to do this?
I have 8 types of billing. I want to use a case statement to select the type of billing....example
Select Case Bill_IDType
Case Bill_IDType 1
Case Bill_IDTYPE 2 etc. up to Bill_IDType 8
Once in a Case selection, I need to have some criteria checked.
No matter what case is selected , then I need to check to see if TransType is L or P. If L is the answer it needs to check to see if Paid_on is P or B. after these checks it edits the record based on the initial case (The case will indicate the percentage to be multiplied on)
Can someone give me an example of how to do this?