S
sue gray
I have a table (tblcpt) similar to what I have listed below. I am having
trouble with a form. Basically I want to be able to select cptcode 345,
modifier TC, and the correct fee be put in a text box (fee) that is also
stored in the tblservices. I have some code attached. Also, I need a better
place to put the code, it doesn't work when I change the CPT code. Sorry if
I didn't explain well. THanks for any help.
tblservices
patientid
cptcode
modifier (which is TC or 26 or None)
fee
tblcpt layout
Cptcode TC 26 totfee
123 12 14 26
345 10 12 22
789 30
651 05 08 88
874 35
Private Sub modifier_AfterUpdate()
If Me!modifier = "TC" Then
Me!fee = tblcpt!TCfee
Else
If Me!modifier = "26" Then
Me!fee = tblcpt!twentysixfee
Else
If Me!modifier = "None" Then
Me!fee = tblcpt!totchargefee
End If
End If
End If
End Sub
trouble with a form. Basically I want to be able to select cptcode 345,
modifier TC, and the correct fee be put in a text box (fee) that is also
stored in the tblservices. I have some code attached. Also, I need a better
place to put the code, it doesn't work when I change the CPT code. Sorry if
I didn't explain well. THanks for any help.
tblservices
patientid
cptcode
modifier (which is TC or 26 or None)
fee
tblcpt layout
Cptcode TC 26 totfee
123 12 14 26
345 10 12 22
789 30
651 05 08 88
874 35
Private Sub modifier_AfterUpdate()
If Me!modifier = "TC" Then
Me!fee = tblcpt!TCfee
Else
If Me!modifier = "26" Then
Me!fee = tblcpt!twentysixfee
Else
If Me!modifier = "None" Then
Me!fee = tblcpt!totchargefee
End If
End If
End If
End Sub