I have one table which the payment from multiple insurance company and another table contain the patient information. I want to update the patient information with the insurance company information who paid the most bill.
table one:
PID Payor
111
222
333
I need to update the table one with payor as EDE since they paid the largest amount. Thanks.
table two
PID Payor PayAmount
111 MIC 10.00
111 ACB 110.00
111 EDE 1110.00
223 MIC 10.00
121 ACB 110.00
144 EDE 14500.00
I do not want to set up the recordset as I did in the vb application and update the record. Thanks.
table one:
PID Payor
111
222
333
I need to update the table one with payor as EDE since they paid the largest amount. Thanks.
table two
PID Payor PayAmount
111 MIC 10.00
111 ACB 110.00
111 EDE 1110.00
223 MIC 10.00
121 ACB 110.00
144 EDE 14500.00
I do not want to set up the recordset as I did in the vb application and update the record. Thanks.