Autonumber not visible

steve1111

Registered User.
Local time
Today, 11:00
Joined
Jul 9, 2013
Messages
170
Hello,

I have a form that should generate and autonumber when a record is started. As soon as i start typing in the first field, the auto number field goes from (New) to blank. Even if i add an me.ID.requery or an me.ID.SetFocus on the AfterUpdate event it does not bring in the number.

In the SQL table it is actually storing the number like it should, it is just not updating on the form.

Any ideas?

Thanks
 
If the back end is SQL Server, the autonumber isn't assigned/shown until the record is saved. If memory serves you can get it in the form's after insert or after update event.
 
Thanks Paul, i did a accmdSaveRecord after update on the first field and that did the trick.
 

Users who are viewing this thread

Back
Top Bottom