I have a datagrid for pharmacy charges. If the patient already has charges, then their record exists in the table so i pull it from there. However, if it doesn't exist, i populate a datagrid with all the charges listed and the units column empty so the user can go down and put in the applicable charges. When I try to hit OK for a new patient, I get an error saying the update affected zero records, the reason being it should be an insert not an update since no record exists for them. How do i force it to insert the records even though the description field was already there so it automatically thinks update??
Does that make any sense?
Any suggestions would be greatly appreciated, i have been struggling with it all morning.
Thanks,
Jeremy
Does that make any sense?
Any suggestions would be greatly appreciated, i have been struggling with it all morning.
Thanks,
Jeremy