Hi All,
I have a main form and below it, I have a subform all linked to the autonumberID on the main form. The subform is used for tracking history of the record in the main form. Since I dont have dates for all of the history items I enter, I have field called row and in this field 1 have numbers starting with 01 and as I add a row of history I go 02 and so forth. I also want to say here I use this row number for sorting the rows in chronological order as well.
How would like to know if using DMax to add the next number when I add a new row to this subform for this record only and when I visit another record enter in the next incrementing number for that recordset?
I did try this =NZ(Dmax("row","tblfachistory")) + 1 in the field control but all it did was take the Max number of all the records in this table which was 66 and enter in 67, so as you can see one record has 66 rows of history.
James
Austin, Texas