VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



connection to Database

by anonymous (267 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 12th April 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

connection to Database

API Declarations



module
global db as database
global rs as recordset


in the form itself

dim db as database
dim rs as recordset



Rate connection to Database



set db = opendatabase("app.path&"\databasename")
set rs = db.openrecordset("table1")

in the form

set db = opendatabase("app.path&"\databasename")
set rs = db.openrecordset("table1")


Download this snippet    Add to My Saved Code

connection to Database Comments

No comments have been posted about connection to Database. Why not be the first to post a comment about connection to Database.

Post your comment

Subject:
Message:
0/1000 characters