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 Replies


ADVERTISEMENT

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

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

General :: Recovered Files Changed To Excel Extensions?

Feb 23, 2013

My computer crashed and I had to reinstall Access 2010 a new computer with Windows 8 and put my Access files on the computer from my backup USB drive. If I attempt to open the Access files from the USB drive, the computer has attached the Excel icon in front of the file name, even tho the type of files says ACCDB, and attempts to open with Excel. I get the following message: "'the file is not in a recognizable format".

The interesting thing is that if I open Access 2010 first and then 'find' the same file that I moved from the USB drive to my desktop, the file will open even tho it has the Excel icon.

How do I change my Access back to where they have the Access icon preceding the name, rather than the Excel icon?

View 1 Replies View Related

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 1 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

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

Append Importing Excel Table Into Access Table?

Jun 6, 2007

I have a database with existing tables.I now want to add a whole bunch of records into my access tables.A lot of the data is repeated, and lends itself to my doing it in excel with it's better copy and paste abilities, and it's ability to easily increment alphanumeric fields.I can't seem to succeed in append importing to the bottom of my access table from my excel spreadsheet. All columns are the same.Can this be done, and if so how please?I'm on XP Pro with Office 2003 Pro.I'm also very much a newbie in Access.

View 2 Replies View Related

General :: Importing Data To A Table And Appending To Another Table

Aug 24, 2014

I have to import a file from an external website into a table (tableA) that I have established. The issue is that I don't need all that data, just specific ones (the website does not allow me to select the specific data to export). I created another table (tableB) to capture the data that I require for my report.

How do I take raw data from tableA to append to tableB the required fields that I want?

View 3 Replies View Related

Importing Table

Jan 17, 2006

I have a linked csv table into access, and have a make table query which runs off this. When i first build and run the query it runs fine, but when i run it again I get the following problem "numeric field overflow" I have checked all the data types, they match fine.....

The thing that i cannot understand is when I rebuild the query from scratch, it works fine for the first couple of times, then stops.

View 5 Replies View Related

Help! Importing Table

Nov 29, 2006

Hi all,

Here's my situation;

I have a database called "polls" with a table called evote which is distributed to the public to use.
What i'd like to do is create another database called import with a form that is used mainly to browse for a file and import it to the "polls" database. It should overwrite the table evote with new information.

Are there any examples of how i should get started?
I tried search but couldn't come up with anything

Thanks in advance

Take care

View 1 Replies View Related

Importing Images To A Table

Jan 14, 2007

Hello


I am racking my brians to work out how to upload a jpeg from my c:drive into a field called "image" in a database.

I can not workout how to do this, could anyone help??

View 4 Replies View Related

Importing A WORD Table

Oct 13, 2007

I have a large WORD Table (8 columns by 800 rows) that I would like to import into a new Access file. What is the best way to accomplish that? Thanks.

View 4 Replies View Related

Importing Over 2000 Csv-files In One Table

Jan 8, 2007

Hello,A plc is writing a profile to a csv file each minute. In order to make an analysis I need to put all these profiles together in one file. I wrote a small VBA function which works fine under the 1000 csv files. It's not a very smart function, but it works. However after the weekend i need to combine a lot more files into 1 table and when Access reached about 1050 records,I get an invaled input message. The csv file is intact. I think the function creates a memory overflow by opening and closing the table after each imported record. Does anyone have a possible solution for this?I just noticed in my explorer that the access database is 2 Gig big!! So i really looks like an improper call of function and closing.Below is the code I use. The number of files to be imported I get from a small textbox, with input from the user.Thanx in advance,OviparousDim counter As IntegerDim filex As StringPrivate Sub Knop2_Click()counter = CInt(Form_Formulier1.Tekst0.Value)On Error GoTo macro_import_profile_ErrDo until counter = 0 filex= "f:profielen" + CStr(counter) + ".csv" DoCmd.TransferText acImportDelim, "0 Importspecification", "profile", filex, False, "" counter = counter - 1 LoopForm_Formulier1.Visible = Falsemacro_import_profile_Exit: Exit Submacro_import_profile_Err: MsgBox Error$ Resume macro_import_profile_ExitEnd Sub

View 7 Replies View Related

Importing A WORD Table Into Access

Nov 6, 2007

How can I import a Word table (6 columns by 800 rows) into a new Access database? Thanks.

View 5 Replies View Related

Importing Multiple Csv Files Into Table

Jul 19, 2005

I have been given the task of setting up a database which will store data which I will receive on a month basis, I have managed to import some csv files however, I will be receiving well over 200 csv files each month. Is there a way to import these multiple file.

The filename save structure is as follows: areacode-Jul 05data.csv

areacode represents each different area.

below is a copy of the csv file.....

View 2 Replies View Related

Importing Excel Data In A Table

May 5, 2006

Is it possible to import excel data in a table ?

View 4 Replies View Related

A Tough One - Importing A File Into A NEW Table

May 25, 2006

I work for a company that has a mainframe application that produces "outgoing" files. They are downloaded to a server and converted to ASCII (all at one time) and then ftp'ed to various clients. We are converting to a client server application and I am in charge of verifying that the mainframe application files (converted) are EXACTLY the same as the server application files. I came up with a process of loading the files to access databases and then with a series of queries and reports produce a list of exactly what doesn't match, which record, what positions and display the two fields that are mismatching.

My problem is that when I try to load the Mainframe file (note that it has already been converted and "eyeball to eyeball" the files are alike) using the "new" / import functions, Access rejects the file because it is greater than 65000 bytes. If I cut the file down to under 65k bytes it loads fine. I can load a 500,000 byte file that was created on the server in the first place.

Any suggestions? I can't change any of the processes that create the files. But I can change copies of the files so that I might be able to get them to load so I can verify that the data inside is the same. I'll let the geeks figure out how to fix the file/record control stuff.

(wouldn't have this problem if I was back on a mainframe!!!!)

Mac

View 3 Replies View Related

Importing Table With Field Properties

Jul 11, 2006

is there is an easy way to create a table with defined field properties.

I have an excel file with over 300 column names and there field length.

I can import the name by transposing the list and then importing however the field length will have to manually edited which i don't fancy doing,

any ideas???


Field NameLength
BATCH NBR5
BATCH DATE8
BATCH CODE3
SUB PRODUCT3
FILE TYPE1

View 1 Replies View Related

Importing Text To Table Problem

Sep 19, 2004

I have a large Microsoft Word document that has a table. My delema is, I want to bring each row of the Word table into records in Access table. The problem is the way the text is formated. This is an example of how each table entry looks like in word:
__________________________________________________ _____________________________
Dogs come when they're called; cats take a message and get back to you.
- - - Mary Bly
__________________________________________________ ______________________________
A cat isn't fussy - just so long as you remember he likes his milk in the shallow, rose-patterned saucer and his fish on the blue plate. From which he will take it, and eat it off the floor.
- - - Arthur Bridges
__________________________________________________ _______________________________


Do you have any idea how I can import this text formated as such into Access?

Thank you in advance - John

View 3 Replies View Related

Tables :: Importing Records Into Table?

Mar 25, 2013

I've got a problem I can don't know how to solve (since I'm a complete access noob). I've got an acces table that is populated with around 1000 entires, all starting with letter N, followed by numbers. Then I've got another table from last year which is also populated with 1000+ N entries AND 1000 V entries.

I would like to trasnfer/copy all V entires from last year table into this year table. I'm sure this is possible but I don't know how. In short, I would like to copy 1000 rows of last year data into this year table/data. What's the easiest way (if there is any)?

View 3 Replies View Related

Modules & VBA :: Importing A Table Without Knowing Its Name?

Aug 13, 2013

how to import a table using VBA like so:

Code:
Private Sub Command0_Click()
Dim dr As String
dr = Dir("F:SomeFolder*.mdb", vbDirectory)
DoCmd.TransferDatabase acImport, "Microsoft Access", "F:SomeFolder" & dr, acTable, "Table", "Table2"
End Sub

This was just a test to see if I could get an import to work. My problem is that I have a lot of .mdb/.accdb files with similar tables that I need to add into one larger database and these similar tables could have different names in different folders. For example, a file named db1.mdb has a table named tbl. Another file named db2.mdb has a table with all of the same fields, but its called tabX. Furthermore, db2.mdb could even contain a second table that I need to import.

My question is:

Is there a way to simply import all the tables from an access database without knowing any table names using VBA?

View 5 Replies View Related

Modules & VBA :: Importing / Parsing From PDF Into Table

Aug 27, 2014

We publish a PDF file every week full of taskings that our subordinate organizations need to accomplish for the following week. I would like to have parse the PDF and store the data in a table. I think the only way to start this operation is to first save the PDF to Text (Plain) as this create some way to delimit and parse the data. So, once it's saved as a txt file, it basically looks something like this:

Code:
//
Column 1 Data/StuffIDontCareAbout/
StuffIDontCareAbout/StuffIDontCareAbout//Column 2 Data
StuffIDontCareAbout/StuffIDontCareAbout/
Column 3 Data

[Code] ....

...and so on and so forth anywhere between 50-100 more times

The entire text file will always start and end with "//" at the top and bottom. You also see that each tasking paragraph (starting with "Column 1 Data" and ending with "Column 3 Data") is preceded by a "//" on its own line, and also followed by a "//" on its own line. The text file will always look exactly like this with each tasking paragraph having the same number of forward slashes.

Column 1 Data always starts on a new line under "//" and runs until the first "/" (single forward slash).
Column 2 Data always starts after the "//" on the 2nd paragraph line and runs until the end of the paragraph line
Column 3 Data always starts on the 4th paragraph line and runs until the end of the paragraph line

Here's a quick example of what I'm talking about:

Code:
//
37 NOS001/DCO/
TaskPer/TBD//310001ZAUG2014-292359ZSEP2014
GenText/Remarks/
(U/FOUO) This will contain the actual task description and details. You can see that "(U/FOUO)" contains a forward slash.

[Code] ....

So after it's parsed, my table would have the following new rows:

Code:
Column 1 | Column 2 | Column 3
37 NOS001 |310001ZAUG2014-292|(U/FOUO) This will contain
582 NOS012 |280001ZAUG2014-022|(U/FOUO) This another task

View 3 Replies View Related

Modules & VBA :: Importing CSV File Into A Table

Feb 21, 2014

I am trying to import a csv file into a table... it works fine however it put all of the row in just one column ...

DoCmd.TransferText TransferType:=acImportDelim, TableName:="tblTempImport", _
Filename:=CurrentProject.Path & "/xxx.csv", HasFieldNames:=False

And i end up with tblTempImport only having one column F1....

View 14 Replies View Related







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