Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old July 3rd, 2003, 09:52 PM
Registered User
 
Join Date: Jun 2003
Location: Mumbai, Maharashtra, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to use foxpro dbf with vb

Dear All User,
I want to use the foxpro database file (ie. .dbf) with VB6. But I don't know how to connect it with vb.

SO any one know then pl. help me so I can write program to add. edit delete the records from /dbf file.

Thanx to all

Regards,
chandrakant


  #2 (permalink)  
Old November 13th, 2004, 11:33 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

chandrakant
try putting an ADO control on your form, and assign 'dBASE IV;' Under Connect Property, and choose the directory in 'Databasename' property, and assign the table name under 'RecordSource' property..

Then you can use any text field in the form and just assign the 'DataSource' to the name of the ADO control and choose the field in 'DataField'...

you are all set...
God bless/keep you.
Vijay
  #3 (permalink)  
Old November 13th, 2004, 11:48 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is DAO, not ADO control...

sorry about that..


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link FoxPro Table with VB achour Pro VB Databases 2 September 14th, 2009 09:26 AM
Excel VBA access FoxPro DBF file il_mostrino Excel VBA 0 May 16th, 2008 02:27 PM
Exporting Oracle Table to .dbf (FoxPro 2.6) File syamchandr Oracle ASP 2 December 12th, 2005 04:43 AM
Foxpro: dbf to pipe delimited text file problem freddellosa Other Programming Languages 0 December 7th, 2005 08:55 PM





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