Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 10th, 2005, 06:47 PM
Registered User
 
Join Date: Aug 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default dbas III

I am using vb6. I am trying to figure out how to connect to *.mem file(dbase III). I was trying to do it with this code, but I was unsuccesfull. thanks for help

Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset

conn.Open "Driver={Microsoft dBASE Driver (*.dbf)};" & _
           "DriverID=277;" & _
           "Dbq=s:\eng\mfg\QCOST.MEM"

rs.Open "Select * From QCOST", conn, , , adCmdText


rs.Close






Similar Threads
Thread Thread Starter Forum Replies Last Post
Forums Extensions III - PageLinks on BrowseThreads Maxxim BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 9 December 11th, 2007 07:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.