Hi,
I have an ID field in my form in which, at present, I manually enter the "ID" number (duplicates allowed). I have another field which shows me the last entered ID number and I add 1 to give the new number to be entered manually. I would like to automate the process, with the ability to override the automated result. (Autonumber cannot be used because duplicates are allowed.)
I can get the form to show the new number in the field by using the DMax formulae as the record source and adding 1, but when I move to the next field (or record), the new number does not show in the table on which the form is based, although any entries in the form made manually do so show.
How can I compel the table to show the automatic entry?
I have tried using the the DMax formulae in the "Default Value" but that doesn't work, probably because the DMax formulae cannot take effect until another field on the form has been entered from a combo box. I don't think an update query will work since it is only the new ID that needs to be updated and chaos would result if all IDs were automatically updated.
Any help would be greatly appreciated.
David
I have an ID field in my form in which, at present, I manually enter the "ID" number (duplicates allowed). I have another field which shows me the last entered ID number and I add 1 to give the new number to be entered manually. I would like to automate the process, with the ability to override the automated result. (Autonumber cannot be used because duplicates are allowed.)
I can get the form to show the new number in the field by using the DMax formulae as the record source and adding 1, but when I move to the next field (or record), the new number does not show in the table on which the form is based, although any entries in the form made manually do so show.
How can I compel the table to show the automatic entry?
I have tried using the the DMax formulae in the "Default Value" but that doesn't work, probably because the DMax formulae cannot take effect until another field on the form has been entered from a combo box. I don't think an update query will work since it is only the new ID that needs to be updated and chaos would result if all IDs were automatically updated.
Any help would be greatly appreciated.
David