|
-
March 29th, 2001, 08:22 PM
#1
Database
I have VB6 and I have made a data base in Lotus Approach. Can I implement the data base into my VB progaram. If so, then is there something I have to set in the components or is there something else I have to set?
-
March 30th, 2001, 09:51 AM
#2
Re: Database
Not familiar with LOTUS but if you can use an ODBC driver with LOTUS then you can use it in VB. You have to configure a ODBC dsn and use that as the access to your database.
If you can be more specific as to what you are using the database with ( ADO, DAO, etc...) you can probably get an example of how to use it.
Jim Hewitt
Software Developer
Liberty Tax Service
www.LibertyTax.com
-
March 30th, 2001, 09:54 AM
#3
Re: Database
It does not make a difference ADO or DAO.
-
March 30th, 2001, 09:58 AM
#4
Re: Database
'ado example
Dim conn as ADODB.Connection
Dim rs as ADODB.Connection
set conn = new ADODB.Connection
conn.Open "DSN=YOURDSNNAME"
rs.Open "SomeTable", conn, adOpenDynamic, adLockOptimistic, adCmdTable
that will open a databbase and a recordset. For more detail I would suggest reading the online help for ADO, as it is complicated.
Jim Hewitt
Software Developer
Liberty Tax Service
www.LibertyTax.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|