Delet Data From A Dbf IV File
Jun 1, 2005
Hello,
I have a project in Access where I am linked to a .dbf IV file. This file is populated by another software and I use Access to manipulate query the data. This file that I am linked to is now 923 Mb and I can’t seem to reduce the size of it.
I have run delete queries and a compact and repair. Any ideas on how to reduce this file size?
Thatnks,
Hunter O
View Replies
ADVERTISEMENT
Mar 11, 2014
I often create contract using mail merge. I have an access file that I want to use as data source for word file. But it does not automatically.
Please download the attached file !
If there are 1 customer and 1 property, I do not need to do anything. Conversely, if there are many customers and many properties, I take time to manipulate.
Firstly, I open the word file. I have to copy and paste paragraphs that I want. Highlight of the original paragraphs is blue.
Secondly, I click 'Insert Word Field' -> select 'Next Record'.
In short, I wish to use VBA in access file to automatically perform the steps that I have outlined.
View 3 Replies
View Related
Feb 2, 2008
I have searched the forums and I know that you can backup data in Access to Excel or another database. What I was wondering was if there was some way to backup your data to a backup file that you could import into another copy of the database on another computer (not on network). What are the options here?:confused:
View 1 Replies
View Related
Aug 25, 2011
I receive a .txt file daily and want to import the information into a table. My problem is that the currency values in the .txt file do not contain a decimal. For instance $7.12 will come in showing as 712. How do I get Access to recognize it with the decimal?
View 2 Replies
View Related
Aug 1, 2005
hi, i have struggled to import some data from an excel file into an sql database..
i have used phpmyadmin and certain code snippets but have failed miserably..
basically my excel file has lots of data, and within each cell, each bit of data is in single quotes...
eg.
'jonathan' '23' 'hardman' 'cheese'
there are no headings in the excel file (as in column or row titles) the data is just raw.
once i have made the table (with the appropriate fields and datatypes for the csv file) how can i import that data into a table using ms access???
View 2 Replies
View Related
Jun 28, 2006
Does Access able to extract and format data from Access such as follow:
abc/d e4.5% 0216 010203 USD22.35 - extract 'abc', '010203', '22.35'.
abc - it's always in front, it's either 'abc' or 'wxyz'. If 'abc' is not shown, just input 'wxyz'.
'010203' - it will be in the middle, it may appear as abc010203 or abc222010203, always in 6 digit.
22.35 - always at the back, after three alphabet, if it's not shown, just input 0.
I have been able to do it in Excel, but I am wondering if it can be done in Access so that I can eliminate the process to import the text file into Excel.
Please advise and thanks.
View 1 Replies
View Related
Dec 23, 2006
We have saved image in the database as OLE Object. It is showing “Microsoft Photo Editor 3.0 Photo / Package” in the table. We want to save these pictures as external file in Jpeg format. Please help us to solve this problem.
Thanks in advance
View 1 Replies
View Related
Mar 26, 2007
I need to export data from a table in Access to a fixed length record text file and would like to find out how to export a number field into this text file with leading zeros.
The text file requires this 999999.99 and right justify and zero fill. My question is this: how can I zero fill from the table to the txt file? I went through the export wizard and couldn't see how to do it.
Thanks
View 2 Replies
View Related
Dec 2, 2004
I have read lots about importing files but can't find anything on how to handle importing data that repeats itself in blocks from with in a txt file.
Note that I intend to run the import as an event each time the db is opened.
the data is an audit log that looks like this:
Date: 12-01-2004 Time: 11:16:57
Transaction #: 061318 Cashier ID: NB
Computer: COUNTER2
Sale Recorded. Transaction Total: 2.5
Date: 12-01-2004 Time: 11:20:55
Transaction #: 061319 Cashier ID: NB
Computer: COUNTER2
Sale Recorded. Transaction Total: 5
Date: 12-01-2004 Time: 11:59:48
Cashier ID: RC
Computer: COUNTER2
Deleted All Lines From Transaction
Date: 12-01-2004 Time: 12:01:17
Cashier ID: RC
Computer: COUNTER2
Opened Cash Drawer--NoSale
Whats the best way of doing this.
Cheers
View 4 Replies
View Related
Jun 15, 2005
I want to import a csv file and store the good data (which matches input masks, validation etc) into one table, and all the bad data which is rejected into another table.
I've read a bit about an import error table, and although I do get errors when importing the csv file, no such table is generated.
Many thanks
Cc
View 1 Replies
View Related
Jan 26, 2007
Does anyone know, when having selected the filepath of a MS Word file in a textbox, how to copy the contents of the Word file and place into a memo field of a table?
View 3 Replies
View Related
Dec 8, 2005
Hi
I have recently had to add a new field to a FIRM table in our contact database, Firm.PhoneNumber (please don't ask why it wasn't there before!). The primary key in this table is Firm.FirmID.
I have a list available to me in .csv format that contains all the phone numbers I need, it has two 'columns', labelled FirmID and PhoneNumber.
The process is surely a simple one, I just need to update/copy/insert the corresponding phone numbers from the csv file into the Firm.PhoneNumber field. I won't bore you with what I've attempted thus far but could someone please provide me with the quickest possbile method for achieving this task?
Many thanks
Stuck21
View 1 Replies
View Related
Dec 13, 2004
Could anyone help with a simple answer please ?
I have an Access db that schedules the sending of emails with attachments.
I run a query on the table that returns all active users
I then need to create a separate file for each active user - in the format as shown below.
Each file is called "ddmmXX.epe"
- where dd=day,mm=month,XX=sequential number starting 01.
The file needs to be formatted ascii text file.
The file extension must be .epe
FORMAT:text
TO:{email}
FROM:{from}
CC:{cc}
SUBJECT:{subject}
ATTACHMENT:{attachment}
BODY:{Message}
All the fields within the {} are fields in the Access table
Each file must then be saved to a directory c:mailout
(eg C:mailout141201.epe)
Sample file would look like this:
FORMAT:text
TO:{harry@aol.com}
FROM:{Mat@abcde.com}
CC:{peter@aol.com}
SUBJECT:{Daily Newsletter}
ATTACHMENT:{c:mailews.zip}
BODY:{Please find attached today's newsletter}
Can anyone help - it would be much appreciated, as I am still learning the slightly more advanced methods of VBA.
Thanks
View 9 Replies
View Related
Jan 17, 2005
i would like to create an excell file (and choose the path) in ms access
and fill that excell file with data divided over multiple sheets
or even if possible take an excell template and fill it with data, then rename
and save it
any suggestions?
View 8 Replies
View Related
Mar 5, 2014
The main complications are that the output file requires fields from several tables, and there are some rather long and complicated calculated fields to be included as well. My choices seem to be :
1) Create a complex query, including the calculated fields, and use DoCmd.TransferText
2) Create a report and then use TransferText
3) Use DoCmd.OutputTo (I haven't looked into this to see if it has any benefit)
4) Create an intermediate, temporary, Table and then run a simple query to output it using TransferText.
View 2 Replies
View Related
Aug 17, 2015
how to write VBA to extract data from .msg files and import that data into a table in my database.I have over 5000 .msg files of which I need to extract the following information:
First name: Tim
Surname: O'Rourke
Street & Nr: 399 Upper Eastern Green Lane
City: Coventry
[code]...
The field headings are all in black bold and the required data come after the colon, I have name the fields in my database exactly the same but using the normal naming conventions:
strFirstName
strSurname
strStreetNr
strCity
[code]...
View 8 Replies
View Related
Nov 30, 2013
I have imported some data from a csv file that is generated by a machine. The problem is this the first row of data is the time date stamp and the second, third, forth.... is the live data at that time and date:
So Something like this:
Time;Date;Data1;Data2;
10:00;30/11/2013;
; ;2000.00;3000.00
; ;2100.00;3100.00
What I would like to end up with is this:
Time;Date;Data1;Data2;
10:00;30/11/2013;
10:00;30/11/2013;2000.00;3000.00
10:00;30/11/2013;2100.00;3100.00
As there are some 10,000 records I would like to automate this and have dabbled with update queries and I am not getting far. how to do this either at the import stage or inside access.
View 14 Replies
View Related
Nov 4, 2011
What I am trying to accomplish is import data from a CSV file every month and have it stored as a table and have that table automatically be converted into a printable invoice. I can do the import with no problem. But I am at a bit of a loss as to how I can go about creating the database.
There is only one client that I have to make up an invoice for, but will be more in the future. I need to store the data for each months invoice and then get yearly reports off that data.
#1, How would I go about connecting each months data?
#2, Should I be using a report to create the invoice layout?
#3, How do I go about automating creating the invoice from the imported data? (I am at an intermediate level with VBA, but access seems to be a whole different ball game)
View 5 Replies
View Related
Apr 30, 2005
I want to import data in access or excel from snapshot file- *.snp. Can I?
10x
View 6 Replies
View Related
Jul 14, 2005
Still not sure how to do this, after I convert my database and create an mde file few changes might accrue in the future, I have tried to make some changes for testing purpose and then create a new mde file and saved it with replacing the older one but I had lost my new data which was entered in the old mde file?
Q: how can I make the new change on my original file and not lose my new data in my mde file.
View 3 Replies
View Related
Sep 30, 2007
Ok, I have a question. It might be a ridiculously simple question. Also, i'm under the impression that I may have to learn some VB, which i'm okay with. I've never really used MS Access, it has sat neglected on my desktop for a number of years and now I am starting to see just how powerful it is. By the way, I'm Jamie, nice to meet you all :) Now, onto the questionWhat i'd like to do is take the following database (for example)field1 = namefield2 = locationfield3 = favourite movieNow, i'd like to generate the following text from this database, for each entryDear <<name>>I once knew a man from <<location>>Was never really much of a <<favourite movie>> fan.Optionally, i'd like it to store the text for each seperately generated document in a file named <<name>>.txt, but that isn't needed urgently.It reminds me of a mail merge I learned to do a few years back in high school using appleworks (I am assuming it was appleworks).Anyway yes, thankyou in advance for any help with this.Jamie
View 2 Replies
View Related
Feb 10, 2005
Hi
My question is: how do I set up the table to minimize redundant data. I have several fields that match the column headings in Excel, so the data can be imported, but fields like user name, pick slot, batch # all get redundant every time I import. My file is getting unnecessarily large. I know splitting the one table into many is the right thing to do, but don't have a clue how to import the data than. any help
Thanks
View 10 Replies
View Related
Aug 22, 2006
I've had a look through the many topics on text importing, but can't find anything specific to my problem.
One of our suppliers has started offering their catalogue as a CSV file via e-mail. For now, I am saving the file to my computer, and wanting to import it into a database.
the table is a bit awkward, as it has "useless" data in the first field. Here is the beginning of one as an example:
VIP Computer Centre Ltd. Trade Price List. 22 August 2006 3:37 PM
ORDER CODE,PROD GROUP,DESCRIPTION,WTY,BOXED IN,1 OFF,5 OFF,20 OFF,UNIT
7719-C,BAREBONE SYSTEMS,JW MINIQ 430AV INSTANT-ON B/B,0,1,50,49.75,49.25,EACH
I imported the data via the Get External Data feature into a new table. This worked fine. I then changed a couple of values, and re-imported the data, this time selecting to import it to the new table. It came up with an error, saying 295 records were lost due to key violations. I then realised that this only appended the data on the end of the table, which isn't what I want.
Here is what I am trying to accomplish:
The field names are created from the titles in row 2 of the CSV file
The table is updated by importing the latest CSV file, so that any price alterations are changed, and any new products added (but identical data is ignored). If one field is needed as a constant, this would be the ORDER CODE field
Field 2 (PROD GROUP) becomes a combo list box (probably based on another table - so the table contains the categories, e.g. BAREBONE SYSTEMS, and the text from the CSV file is converted to the appropriate ID number)
Is any of this possible? If so, how?
Thanks in advance for any advice you can give!
View 3 Replies
View Related
Mar 9, 2005
Hi guys, this might be a quickie, I did a quick search but couldn't find anything :/
Basically my database creates a table which some people would rather analyse within excel because they're not comfortable with access. I can get the table exporting to an xls file no problem, howeevr what I would like is for the database to export the file and open the file in excel at the same time so the user doesn't need to open up excel and find the file etc...
Any ideas??
View 2 Replies
View Related
Jul 25, 2005
:confused: I've created a form within our company database which will track hardware/software requests. I'd like to create a macro, or add code to output the data entered into a notepad file. Nothing extraordinary. I'd like for it to be like this:
Ticket: XXXXX
Employee: xxxxx
Reason for Request: xxxxx
Quantity:xxxxx
Part Number:xxxxx
Price:xxxxx
Shipping:xxxxx
Total:xxxxx
Those are the headings of the fields and x's denote entered data. I'd like to keep the headers and have the entered data as well. Is it possible?
Thanks to all for your help
View 1 Replies
View Related
Sep 23, 2004
I created a form which is opened by a query, it displays several fields. I need to find a way to export/add these results into a new access table. I need to do by using a button..
View 1 Replies
View Related