VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Create Access Table in VB

Databases/Data Access/DAO/ADO   Visual Basic 3.0   Advanced   Wed 3rd February 2021

Allows the programmer to create an MS Access table in Visual Basic where the primary key’s field data type is set to AutoNumber. It is not like creating the primary key field in Access where you can select AutoNumber date type. In VB 5 and 6 you can’t request AutoNumber for a field type in the SQL Create Table string, it does not exist. So to create a table in VB where primary key’s numeric field type will be AutoNumber, you have to do it the way the included source code shows. Hope this helps.

Inputs
None.

Assumes
None.

Returns
None.

Side Effects
None.

API Declarations
None.

Rate Create Access Table in VB (6(6 Vote))
Create Access Table in VB.bas

Create Access Table in VB Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters