Exforsys
+ Reply to Thread
Results 1 to 6 of 6

Importing dBASE into Access using VB.

This is a discussion on Importing dBASE into Access using VB. within the Microsoft .NET forums, part of the Programming Talk category; I'm trying to import Myfile.dbf into Access so that I can add any new records from Myfile.dbf to an existing ...

  1. #1
    Superfreak3 is offline Junior Member Array
    Join Date
    Jan 2006
    Answers
    3

    Red face Importing dBASE into Access using VB.

    I'm trying to import Myfile.dbf into Access so that I can add any new records from Myfile.dbf to an existing Access table. I also want to be able to remove any existing records from the existing table that are no longer contained in Myfile .dbf.

    I'm having alittle trouble getting started and I'm fairly new to programming.

    Any points in the right direction would be GREATLY appreciated.




  2. #2
    admin's Avatar
    admin is offline Administrator Array
    Join Date
    Mar 2005
    Location
    New York, USA
    Answers
    58
    try this program if this one export to csv file, then use import option in Access..

    http://www.freedownloadmanager.org/d...port_dbf_info/

    hope this helps...


  3. #3
    Superfreak3 is offline Junior Member Array
    Join Date
    Jan 2006
    Answers
    3
    I'm looking to do it in vb code.


  4. #4
    admin's Avatar
    admin is offline Administrator Array
    Join Date
    Mar 2005
    Location
    New York, USA
    Answers
    58
    try this.... you need put some code around

    Adodc2.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Data Source=dBASE Files;Initial Catalog=C:\MYDBFILEFOLDER"

    Adodc2.RecordSource = "SELECT * FROM Myfile.dbf"
    Adodc2.Refresh

    OR

    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=[Path To database];Extended Properties=DBASE IV;

    Change the [Path To database] above to where the dbf files reside. For example, C:\MYDBFILEFOLDER


  5. #5
    preethi457 is offline Junior Member Array
    Join Date
    Mar 2011
    Answers
    3
    Q. Name the namespace used to create a localized application?
    Ans. System.Globalization
    System.Resources

    The classes contained in the System.Globalization namespace are useful for writing globalized (internationalized) applications. It contains classes that define culture-related information such as language, the country/region, the calendars in use, the format patterns for dates, currency, and numbers, and the sort order for strings.

    The System.Resources namespace contains classes and interfaces which allow to create, store, and manage various culture-specific resources used in an application.


  6. #6
    Jonathanus is offline Junior Member Array
    Join Date
    Mar 2011
    Answers
    6
    Quote Originally Posted by admin View Post
    try this program if this one export to csv file, then use import option in Access..

    freedownloadmanager. org/downloads /export_ dbf_info

    hope this helps...
    thank you ....it is very useful for me


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...