VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Create a database with a table in visual basic

by Aries_Tranate(Bataan) (6 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 5th November 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Create a database with a table in visual basic

API Declarations


"For more code
"or want a help to visual basic
"just call or text me
"09196808745 / 791-5029

Rate Create a database with a table in visual basic



Dim DB As Database
Private Sub Command1_Click()

Set DB = CreateDatabase(App.Path & "\Aries_Tranate(09196808745)", dbLangGeneral, dbEncrypt)

DB.Execute "CREATE TABLE Aries_Tranate(Bataan) " & "(FirstName CHAR (50), LastName CHAR (50), Age INT, Address NOTE,Aries_Tranate char(126));"


DB.Close MsgBox "DataBase Created."
End
End Sub

Download this snippet    Add to My Saved Code

Create a database with a table in visual basic Comments

No comments have been posted about Create a database with a table in visual basic. Why not be the first to post a comment about Create a database with a table in visual basic.

Post your comment

Subject:
Message:
0/1000 characters