`
Par2: Generating autonumber key on OK Accepted 2000-01-07 -- Maarten Veenstra > Is there a way to generate the auto number key on the pressing of the OK > button instead of it being generated when I open my form? In ThisWindow.Init of the form: Access:MyFile.CancelAutoInc The AutoInc is (re-)done (again) by Access:MyFile.Insert() and thus automagically - no more coding needed. Printed April 1, 2025, 11:20 pm This article has been viewed/printed 35395 times. |