You guys are so good that I'm starting to rely too much on you! Forgive me for that.
Also forgive me for not searching for the answer to this question in previous postings - I'm in a bit of a rush, so I apologize if this is easily answered or has been answered before.
Ok, I have a form with a bunch of controls. On eo fhte controls - a textbox - will contain a tracking label for the record displayed in the form. What I'd like to do is to automatically generate a value for this textbox when a new record is generated, but before the record is displayed in the form. The generated value will be based upon the date that the record is created and an autonumber field.
I'm having a little trouble figuring out which event to tie the field value creation to, so I'm looking for advice. For example, I tried putting the VBA code in the OnCurrent event, but this does not seem to work. It seems as though the OnCurrent event is happening before the creation of the new record and the autonumber field is not yet populated for the new record.
Do you have any advice on how to best approach this?
Thank you so much,
Tom
Also forgive me for not searching for the answer to this question in previous postings - I'm in a bit of a rush, so I apologize if this is easily answered or has been answered before.
Ok, I have a form with a bunch of controls. On eo fhte controls - a textbox - will contain a tracking label for the record displayed in the form. What I'd like to do is to automatically generate a value for this textbox when a new record is generated, but before the record is displayed in the form. The generated value will be based upon the date that the record is created and an autonumber field.
I'm having a little trouble figuring out which event to tie the field value creation to, so I'm looking for advice. For example, I tried putting the VBA code in the OnCurrent event, but this does not seem to work. It seems as though the OnCurrent event is happening before the creation of the new record and the autonumber field is not yet populated for the new record.
Do you have any advice on how to best approach this?
Thank you so much,
Tom