Hi,
I have a form and subform that links two tables tblPatients and tblBleedDetails respectively. PK-FK is PatientID. There is a one to many relationship between the tblPatients and tblBleedDetails. I am logging patient bleed events for each patient sequentially so that the first event is 1, second event 2 and so on. How do I get the sequence number for each bleed event to start at 1 and increment by one each time a new event is entered on the subform?
For example PatientID 12345 may have records in the tblBleedDetails with a sequence 1,2,3 for his three events and PatientID 23456 may have three events also sequenced 1,2,3.
Thanks for any help or pointing me in the right direction.