Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Manual control of autoincrement/autonumber keys 1998-05-18 -- Steve Parker This is particularly appropriate for a form not called by a browse.
Where TES:SysID is the field to be autonumbered:
WindowManager Method Executable Code Section
PrimeFields
()
If ~TES:SysID
Access:TestFile.PrimeRecord
Access:TestFile.PrimeAutoInc
End
You may wish to try the TryPrimeAutoInc method.
Strictly speaking, the test for the value in the field may not be necessary.
In the Cancel button's Accepted, Before Generated code embed:
Access:TestFile.CancelAutoInc
Today is November 23, 2024, 2:08 am This article has been viewed 35313 times.
|
|