I have a question on the data report. I have a recordset I want to display in the report in a particular manner that I just can't seem to do. I am using the native vb datareport.
The recordset is created with a sql string executed against an MS ACCESS db. It returns a patient name, the patient's doctor and the patient's primary insurance company.
I want the report to display the Doctor's Name first and then each Insurance Company that the doctor deals with below that. Under each Insurance company would be listed the Patients who have that Insurance company.
Currently my report is displaying each record with the doctor, insurance and patient name like this for each record:
Doctor
Insurance
Patient
Doctor
Insurance
Patient
I want it to look like this:
Doctor1
Insurance1
Patient1
Patient2
Patient3
Insurance2
Patient4
Doctor2
Insurance1
Patient5
Patient6
Insurance3
Patient7
I am pulling all the data successfully I just can't seem to get it to display correctly. I am appreciative to anyone who can shed any light on this or point me in the right direction.
Thanks in Advance
The recordset is created with a sql string executed against an MS ACCESS db. It returns a patient name, the patient's doctor and the patient's primary insurance company.
I want the report to display the Doctor's Name first and then each Insurance Company that the doctor deals with below that. Under each Insurance company would be listed the Patients who have that Insurance company.
Currently my report is displaying each record with the doctor, insurance and patient name like this for each record:
Doctor
Insurance
Patient
Doctor
Insurance
Patient
I want it to look like this:
Doctor1
Insurance1
Patient1
Patient2
Patient3
Insurance2
Patient4
Doctor2
Insurance1
Patient5
Patient6
Insurance3
Patient7
I am pulling all the data successfully I just can't seem to get it to display correctly. I am appreciative to anyone who can shed any light on this or point me in the right direction.
Thanks in Advance