FoxPro/DBase III Import??

Oct 12, 2006

Okay,

First I was thinking to write a little app in Access to work with a DBF file, that I assumed was a DBIII database. It was exported via a 3rd party software, and the primary interface up until this point has been Visual FoxPro. My problem is two fold:
1st:
When I tried to import it as a dBase III file, Access just closed. I mean, disappeared, no longer running, closed. I didn't even get an error message or anything.
So I tried to import via ODBC, using a "Machine Data Source" Microsoft Visual FoxPro Database (or table, either works) and selected the directory of the dbf file and selected the table listed once it scaned the directory and all imported fine.

So: If the Visual FoxPro Machine Data source worked, though I am confused why the DBIII driver just booted me, I am now concerned as to how I would write a connection string via DAO to access that dbf file at run time.

Basically I want to go to a static location on a network and access a dbf file, and perform query manipulations upon it. My connection will be READ ONLY to the actual DBF file and i would subsequently use MS Access to create any other relevant tables/queries based on the table in the dbf file. Since the Visual FoxPro MDS diver worked, do I need to write a connection string to access it, and if so, how would I do that?

Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner

View Replies


ADVERTISEMENT

Queries :: Unable To Import Tables From FoxPro Database Using VBA Code

Apr 22, 2013

I'm trying to import a few tables from a FoxPro database into an Access Database using VBA code. I know I have done it before and I remember struggling with the format last time.

DoCmd.TransferDatabase acImport, "ODBC Database", "ODBC;DSN=Hiremate;SourceDB=data-wwappshmfox32datahiremate.dbc;SourceType=DBC;E xclusive=No;BackgroundFetch=Yes;Collate=Machine;Nu ll=Yes;Deleted=Yes", acTable, "hires"

View 2 Replies View Related

General :: Import Images From DBase DBT File

Jul 27, 2013

I've been asked by a friend to extract approx 50 images that are stored in a dBase 5 'DBT' file.

I know Access can import dBase 'DBF' files, but is there a way that I can use Access to import the data in the 'DBT' files and convert to jpg format?

View 2 Replies View Related

Recovered Foxpro Table

Feb 6, 2007

Guys, i have a recovered Foxpro table, the problen i have is the numbers have the wrong format. To be exact, 63 should be 0.63, 1200 should be 12.00, 4250 should be 42.50. In other words i need to put in a decimal place two places to the left of each number. How do i do this on import ? Do i have to run a query and make a new table? If so what function and expression do i use?

Many Thanks:)

View 1 Replies View Related

Importing Recovered Foxpro Table

Feb 6, 2007

Guys, i have a recovered Foxpro table, the problen i have is the numbers have the wrong format. To be exact, 63 should be 0.63, 1200 should be 12.00, 4250 should be 42.50. In other words i need to put in a decimal place two places to the left of each number. How do i do this on import i? Do i have to run a query and make a new table? If so what function and expression do i use?

Many Thanks :)

View 3 Replies View Related

URGENT: Linking Foxpro Tables To Access

Dec 9, 2005

hi to all,

I have a software which links itself to a fox pro database/tables. Now i want to link some of these free tables or database from fox pro to access. Whenever there is a slight change in the fox pro tables/databases they must reflect directly into access database. Is this possible and how?

thanks,
ashley

View 3 Replies View Related

Modules & VBA :: Dynamic Linking Of FoxPro Tables

Dec 11, 2013

I'm looking for some sample VBA code that dynamically creates a link to Visual FoxPro 9 table. Our group has a number of end user FoxPro applications, and as FoxPro is reaching the end of its life in January 2015, we need to replace it.

A lot of the processing we do uses tables with a date embedded in the name, e.g. MyData_20131211.dbf. We'd like to be able to let our users to use Access queries that point to these tables without having to manually create the ODBC link each day. Is there a way to set up a link once, then use VBA code to dynamically change the table it points to?

For example, we set up an ODBC link table to MyData_20131211.dbf, and rename the link table in Access to MyData_Today. Then tomorrow, the VBA code would change the link to point to MyData_20131212.dbf.

An alternative would be to dynamically recreate the link each day.

As the tables are large, we don't want to import them into Access if we don't have to.

View 3 Replies View Related

ISAM For FoxPro 2.6 Tables Linked Into Access 2003

Nov 26, 2004

I have been running queries and reports with data from our company database (a third-party system based on FoxPro2.6) by linking tables into MS Access 97 for years. We have now upgraded to XP and Office 2003, and suddenly I can no longer do this but get a message "Could not find installable ISAM".

I've tried to locate the required file on the Internet but no luck so far. Can anybody help me? I am currently using an old pc with Office 97 on it to run the reports, but it's in a different office location and makes the whole job very tedious. Are there any work-arounds?

Any help much appreciated!

CC99

View 3 Replies View Related

How Do I Create A Link To A Foxpro Table Using OLEDB Provider?

Jul 17, 2006

Hi!

I am a newbie in Access. I am running Access 2003 and would like to be able to create links to Visual Foxpro9 tables using the VFP OleDB provider and not the ODBC drivers.

A few of my clients want to use the VFP9 tables in their reports but so far I have not been able to find a way to do it using OLEDB (except in a module with VBA code which I don't want).

I can do it using the ODBC but the problem is that ODBC driver does not recognise the VarChar fields in the tables.

I tried creating an Access project and then 'File --> Connections' but it does not display the 'Provider' tab to select which provider to use and by default assumes that SQL Server is the source database.

How can I get Access 2003 to allow me to select the OLEDB Provider?
Any help will be appreciated. Thanks.

View 1 Replies View Related

Chat Through Dbase?

Mar 27, 2006

Hi!!
I am creating a dbase which can be accessed through a lan
Would like to know whether it is possible to have a chat window EMBEDDED into the dbase; whereby multiple users can chat and modify database accordingly....
Prob simple, but the access help doesnt offer much support

Your efforts will be greatly appreciated.

P.S. Can u just create a small sample for the same??

View 2 Replies View Related

Attendance Dbase

Feb 12, 2007

Dear fellows
hi
I need sample access dbase records and retreive attendance of students in course
thank you for help
moheb morcoss

View 3 Replies View Related

P'se Critque My Dbase

Feb 15, 2007

Hello there,

I'm trying to develop a database for an organisation for their partners....see attached. I would like you to take a look and tell me if what I've done is the right thing. Secondly, (I'm just learning Access) I would like to have a query that give a count of 3 how many CBOs, how many NGOs; by 8 (location). Third. Is it possible to have (sub) grouped into expertise?

The mission and vision field was a multiple answers field, is this the way?

Thank you in advance,

Samia

View 8 Replies View Related

Export To DBASE III

Sep 29, 2005

I need to export ms access table to dbase III format.
When I use export something is missing and the file format
is just not good.When I try to open dbf file with
program Dbase I get message "not a dbase database".
I find out that excel do the same, so if anybody know
how to export to dbase III using ms access or ms excel
please help.Ms access help is to install borland database,
I downloaded some from Internet but I don't know what to do with it.
PS: Even when I import dbase III file and try to export it back
there is a problem.
Please, please help.

View 2 Replies View Related

Prob With Many2many Dbase..

Dec 27, 2006

I'm trying to create a little dbase for personal keeping track of a number of companies I deal with, so that i store their details and also the products they distribute.
In more detail, I want to have 'fixed' product categories, which will be assigned to supplier, and each category will include the product models I have set, including their details (such as price, manufacturer, country of origin, etc).

My point is to be able to create several customised reports and listing:
1. All product models I have in a category including their details.
2. Report per supplier to view their details and the products they distribute
3. Certain product models in a list with their local distributor (companies I deal with).

I assume it involves a couple of many2many relationships, however I have created a file in MS Access but never managed to have it work properly.

Any1 have an idea, or template maybe?

Regards ;)

View 2 Replies View Related

Scheduled Shutdown Of Dbase

Jan 24, 2007

Hi,

I've searched the forum for a sample code on how to automatically shutdown database at a given time of the day, but i can't find any. There are lots of codes pertaining to inactivity / idle users but none on scheduled time.

My idea is to kick-off all users every 12:00nn, Monday to Saturday and then compact / backup database after.

I hope someone could assist me.

Thank you!


Sheila

View 1 Replies View Related

Access-Dbase Or Remarry

Apr 13, 2007

I have been married for 36 years. I really don't want a diorce, but I think I might have to in order to get access to work for me. It appears to get the best way to get D base to work with access it to get divorced and remarried, ha. We have tried several ways to get import data into access from a Dbase IV file. We have tried by a Dbase import and a text delimined file import. We get a subcript out of range. There seems to be several issues here. One of them is if you have numbers in a dbase text field, and try to import them intp access, the documentation and access says we have to put quotes around the numbers. That didnt work.

Actually, rather than going into great detail of what we have tried, let me just tell you that we cant import the file. Can anyone help? We have the folling type of filds in dbase: date fileds, text field with numbers, and numeric fileds. Please help.

:mad:
Bob

P.S. I am happily married, so i would prefer not to go the marriage route with dbase.

View 7 Replies View Related

Exporting Table To DBase IV (*.dbf) With VBA

Feb 22, 2008

Hello guys,

I am working on a database that requires a user (with very little access knowledge) to export a table into .dbf (DBase IV Format) using a button and VBA.

I realize this can be done by right clicking on a table and click export. However I did not give the end user access to the tables (being a good DB Developer!) and also I don't believe I can teach this particular user how to do the steps to accomplish this.

The scenario: Third party software needs (SwissSys, which is a chess software) to grab information about players and ratings from a .dbf file (and will not work with access). I have developed a database for the association so that they can edit players information, and update the ratings directly off the website (www.chess.ca) and it automatically updates in the database.

The idea is, the Access Database updates the ratings from the website, and then the user exports that data into the dbf file (players table) that is directly linked to the third party software.

I am looking for a way to use VBA code to either 1. Create/Overwrite the existing dbf file when exporting the tblPlayers, or 2. Append/Update the current dbf file with the updated ratings, and creating new entries when necessary when exporting the tblPlayers.

Unfortunately I have had little success in finding code to export to a dbf file, anyone have any ideas?

View 3 Replies View Related

Programmaticaly Add User To Secured Dbase

Jul 20, 2007

Can anyone help please

How do you add a user to asecured database using vb

Thanks

View 1 Replies View Related

Can't Convert Dbase To Design Master

Dec 19, 2007

I am trying to replicate a database for mobile working. When I attempt to 'create a replica' I get this error:

"MS Access can't convert to design master
Cannot make the Table "[TableNameHere]" object in tables container replicable."

The table in question is fairly large and has 248 columns and is linked to 3 other tables of similar size as well as 3 smaller ones. Got about 2000 or so records and set to cascade deleted and updated records. 248 columns should leave enough spare columns for replication though, shouldn't it?

Any suggestions as to what I should look for to fix this?

View 7 Replies View Related

Duplicate Access Dbase Without Data?

May 29, 2005

This mind sound like a pretty lame question to the pro's....

Is it possible to duplicate an Access database creating a new blank database - retaining only the database/table structure? I have a website content management system and I want to duplicate the database for each new site.

Also, is it possible to reset the 'auto-numbering' to zero?

Whilst I've build a reasonably advanced web-based system based on a database containing a dozen or so relational tables plus queries, I'm no expert on advanced Access functions.

Cheers!
Penny.

View 1 Replies View Related

Linking MS Templates To Create Integrated DBase?

Dec 10, 2007

Hi everyone
I am just about to start a database project for the company. The last one I wrote was over 10 years ago in Borland's ObjectPAL and has served us well.

After doing quite some research I have decided (well... almost) to use Access as the basis for the new project as I need the most efficient and 'slick' solution in the speediest time-frame (don't we all!).

The downloadable Templates from MS seem actually quite good as a starting point, but we would need to 'glue' them together to prevent replication of clients, prospects, employees etc.

Has anyone had any success with doing this? For example, we would need to integrate Marketing Projects; Customer Service; Sales Pipleine plus our own custome stuff besides modifying these standard templates.

Looking forward to your replies

Regards

CD (UK)

View 3 Replies View Related

Modules & VBA :: Import Csv Files And Rename Them After Import Into (imported) And (failed)

Jul 17, 2015

I have the following piece of code for importing the .csv files from a selected folder and then renaming them into 'imported & filename' if succesful and 'failed & filename' if import failes for whatever reason (bad formating, etc.).

The problem is that the first time it encounters a 'bad' file after another, instead of going again to the Error handler, the command

Code:
DoCmd.TransferText acImportDelim, , "Activitate", filename, True

gives me the default MS Access error, namely 2391. I would like it to go the the Error_handler again ang follow the course of actions and rename the files into 'failed' and 'imported'.

Here's the code:

Sub ImportActivitate()
Dim strFile As String 'Filename's
Dim strFileList() As String ' File Array
Dim intFile As Integer 'Number of files
Dim filename As String, sFullName As String, sFilename As String
DoCmd.SetWarnings False

[code]....

Also, how can I make the routine stop cycling through the files after I renamed them all?

View 3 Replies View Related

General :: Large Table Import / Way To Import Tables To Access

Sep 17, 2013

I want to make a database of diseases (need to learn them for school and would like a serchable database on my smart phone for future reference).
Unfortunately spent a lot of time making hundreds of pages of word tables before i realized a database would be better. See attached image or pdf. Is there a way to import the tables to Access?

I need to preserve the hierarchic info in the nested bullet point lists. E.g. under treatment i might have a point called Acute treatment, with sub-levels, Step 1, Step 2, etc. with their own sub-levels. I need to maintain this relational hierarchic info.

View 3 Replies View Related

Import

Oct 6, 2005

Hi all,

At the moment i am trying to produce a button which my users can click on to import some data from Excell to Access.

When i just go through it manually, ie file> import etc, the table fom Excel appears in access perfectly, but when i try using my button it brings up the following message:

Field 'F1' doesn't exist in the destination table 'Sheet2'.

The button runs off a macro. This is what i have for each option:

Action:TransferSpreadsheet

Transfer type: Import
Spreadsheet type:Microsoft Excel 3
Table name:Sheet2
File name:the file location
Has filed names:No
Range:

I would be grateful if anyone could help and let me know where i am going wrong.

Thankyou

View 3 Replies View Related

XML Import

Feb 21, 2008

Can someone give me a general guide to this

i have a file of invoices

each invoice has a header, and multiple lines

if you import using external file/import access just constructs tables of each individual xml tag, populated with the various values, not linked in any way

how do you get an invoice table, and invoice line table, etc, populated with appropriate data.

View 13 Replies View Related

Xml Import

Sep 20, 2007

I guess this will be my last plea for help as to why an xml file will import the data into access 2003 (on my home PC) but not import the data, only the fields, on my work PC.

In both importings I'm indicating to indicate data and structure. Could it be the difference between versions? Perhaps a restriction at the end of my work environment?

Help....

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved