VBA Samples
Sample applications are the best way to learn VB.
Thursday, 22 September 2011
Create Access Table with auto number VBA
To create table in access vba
Sub CreateTable()
Dim MySQL As String
autonumber = counter
MySQL = "CREATE TABLE Table2 (ID counter, Name text (50))"
DoCmd.SetWarnings False
DoCmd.RunSQL MySQL
DoCmd.SetWarnings True
End Sub
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment