Help With Table Setup - Based On Excel Import

Nov 7, 2007

Hello,

ACCOUNT_NUMBER
SHORT_ACCOUNT_TITLE
CONTACT_COMMENTS
CONTACT_TYPE_TEXT
ENTERED_BY
INITIAL_CONTACT_DATE
DATE_ENTERED

These are fields that are imported from Excel. I have to import 500-1500 rows each week which contain the data I need. Then I must, by using a form, go through these "Service Calls" and mark some that give the employee credit for the call and some that are unique calls. Meaning if they have serviced the same person 5x in the quarter I can only count that once.

There can be muliple people on a service call so I have these:

EMPLOYEE1
EMPLOYEE2
EMPLOYEE3

(Entered_By field contains the employee who recorded the call and they would have gone on the service call)

Then I have to record who they contacted regarding the account. The SHORT_ACCOUNT_TITLE will often differ from who they have contact regarding this account. So I have this field:

CONTACT

Then since muliple employees go on service calls together some may have already contacted this customer aleady. I have to keep track of employees unique customer contacts. So I have these fields:

CREDIT1 (checkbox for employee listed in the ENTERED_BY field)
CREDIT2 (checkbox for EMPLOYEE1)
CREDIT3 (checkbox for EMPLOYEE2)
CREDIT4 (checkbox for EMPLOYEE3)

Then I have to keep track of service calls regardless if they where unique ones or not. So I have this field:

ELIGIBLE

Then I put a notes section in so when I am filtering the data and finding what calls where good calls and need to make changes or whatever I can have a place to put that:

NOTES

Finally since some of these customer calls involve large amounts of customers (group meetings, etc) I have this field to type in a number of additional credit:

ADDITIONAL_CREDIT1
ADDITIONAL_CREDIT2
ADDITIONAL_CREDIT3
ADDITIONAL_CREDIT3

------------------------------------

So since I have to import Excel rows that contain the data I start with I am unsure of how to set this up and normalize it. I have attached my form I have used to find what fields I would need to show you more of what I am trying to do.

This form allow me to filter data that shows up in the subform. Then I can just double click it and bring up the record. Then mark the ones that count.

I am looking for any suggestions. Thanks.

View Replies


ADVERTISEMENT

Import Excel Into Table

Dec 29, 2005

I have a form that I am trying to setup to click on the button and it opens dialog box to select file, then it transfers/appends the data into an existing table. I got the button to open the dialog box and select the file, but nothing is being added to the table. Can someone please help?

View 1 Replies View Related

Can't Import Table From Excel

Oct 4, 2004

I have created an xls and its the same format as the table in my db. Same column name and same data type. However, when I try to import the xls to an existing table in my db, there was an error message that says, "An error occurred while trying to import file 'C:MyDocumentsPOSystem_Book.xls'. The file was not imported'". This error does not occur when I import it to a new table. Can anyone help in this? A million thanks in advance.

Regards,
Swee

View 2 Replies View Related

Import/Update Table From Excel ?

Jan 16, 2005

Hi all,
I use an Excel import to update tabel 'deelnemer'. This works oke BUT when user 'x' has a linked field in tabel 'B' the import fails due to RI (I think..)
How can I make it so in this code that the user record is updated and can I restore the RI (otherwise my forms won't work..)
This is the code I use for importing the Excel file:
DoCmd.CopyObject , "Deelnemer_copy", acTable, "Deelnemer"
DoCmd.SetWarnings False
DoCmd.RunSQL "Delete * from deelnemer"
DoCmd.SetWarnings True

ImportFile = Application.CurrentProject.Path & "Deelnemer.xls"
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel3, "Deelnemer", ImportFile, True
Please help me on this, breaking my head over it and I'm newbie on all this..
Thanks in advance !

View 3 Replies View Related

Excel Spreadsheet Will Not Import Into Table

Oct 11, 2006

Hi,

I am failry new to Access, and am trying to import an Excel spreadsheet into a Table. I go all the way through the import wizard, and it gives me an error that it cannont create, and then it goes back to the last screen, and I have no Idea what is wrong.

I have looked under many help's and online tips, and searched this site to no avail. As far as I can tell everything should be acceptable to import. I have unique column header titles, no blank rows, nothing over 255 characters, and it still does not work. Can anyone give me some advice on what is wrong in this spreadsheet causing it not to be imported?


Thanks!

Tony

View 6 Replies View Related

Append Table From Excel Import

Jul 18, 2005

Curious to know if anyone had some suggestions on how to create a form that would import an excel spreadsheet (that was in the same format of columns as the main table in the database) and append/attach it to the existing main table.

i have attached an abbreviated version of my database for reference. many thanks-

View 6 Replies View Related

Tables :: How To Import Excel As A Table

Mar 12, 2013

I am trying to build a DB for work at the gas company. Currently this is tracked on 10 excel flat files and I want to make this process more efficient. The company DB is oracle based and the system is not set up for me to limit views just to my information. Therefore I am trying to build an access DB to handle this.What I am doing is downloading a copy of the DB info (which includes everyones area) to an excel spreadsheet and linking this to access as a linked table so I can use this information. Unfortunately, this means it makes a linked table without a key field.

However, according to information that I have read, I am unable to use this linked table in a form because it makes the form not updateable??? Is this due to the linked table and if so, is there a work around?

The reason I link this information is due to multiple fields that are updated hourly/daily. If I turn this into a table, then I will have to either manually update these fields constantly or create additional steps in order to recreate the wheel so to speak. I don't need to be able to update the linked information in the form, I just want to see it when doing the data entry for the purpose of specific dates, previous surveys, previous survey results, and for flagging due dates. Is this possible?

So far, the only information that I have been able to research on this is how to link information or how to import excel as a table but nothing that speaks of how to use a linked table in a form or what limitations a linked table has.

View 1 Replies View Related

Unable To Import Excel Spreadsheet To Table

Dec 4, 2007

Hey

I have a procedure that imports excel spreadseet to access table ever today.
today it failed. Forrmat was the same as yesterday.

I did 'copy/paste special/format' from yesterday's file; still today's file wouldn't import.

Tried to copy manually to the table, got the error message about 'field not being in the same format'

Went to table's design view, and changed everything to 'memo', the was able to do copy/paste.
There wer no values with more then 20 characters
I was able to change 'memo' back to text and date/time without loosing any date.

Has anyone ecountered this ? Going changing table, and then chaging it back doesn't sound like the best practice
what can be done ?
can abything be done to excel file ?

View 3 Replies View Related

Auto Import Table From Old Excel Format?

Jan 31, 2008

i have 1 table that link to excel file. the excel file is generate by other software and it's on excel 2.1 format. I've tried to directly link to the file but not working. so i manually open the file and save the file on excel 2002 format, then i use that file to be linked on my mdb. Unfortunately every time i replace the file with the newest data, my mdb not displaying the updated data.

- how can i link old version of excel on mdb?
- what should i do so my mdb will display the updated data after the excel file is replaced?

thanks

View 3 Replies View Related

Import Excel Data Into Access Table

Apr 27, 2008

Hello guyz,
With the help of 'Import External Data' wizard, my import did not happen. My datatypes and Col. Headers in excel are matching for what I have in access table. Alternatively, I selected to import the data into new table and all of the data got imported. My question, since I already have some data in table I want data to be imported, how can I do about bringing all the data from new table I created during import to the existing table. Please suggest. Thanks in advance.

View 3 Replies View Related

Tables :: Import Excel File To Table?

Oct 22, 2014

How do you import an excel to table..appended?? Using code. I am new to access. I have code to export and open an query into a excel file.

View 5 Replies View Related

Tables :: Import Data From Excel Into A Table

Jun 1, 2015

User imports data from Excel to a table but i am not sure that the user will import right data into the table.

So in case a error comes due to a record, i want to cancel all the changes/updates done because of that excel file.

i.e if there are 10 records to be imported and error comes while uploading 5th record, then all the 4 records updated earlier should be recalled / reversed / cancelled...

View 8 Replies View Related

General :: Table Import From Excel - Only 52 Columns?

Sep 5, 2012

I'm having problems importing a spreadsheet from Excel for a client.

They are using Access 2003 and Excel 2007, 3.5GB RAM

It works perfectly on my machine - Excel 2010 and Access 2007-2010, 4 GB RAM.

The file is imported in Excel 97-2003 format via a macro using the transferspreadsheet function.

It returns error 3274: "external table is not in the expected format."

There are 1488 rows and 71 columns in the spreadsheet and resulting table - in future additional columns may need to be added representing new critical data.

The interesting thing was that it worked fine on my machine. Then as a trial and error process I cut the file down to 26 columns and it worked fine. 52 columns also imported. But it gave up when there were 71 columns.

if 52 columns * 1488 rows =77,376 record worked, that's more than the magic number of 65,536. but it doesn't like 71*1488 = 105648 records. Is there a limit at 100,000, or some other number in between? I would have thought Access could hold/import much more than this.

View 1 Replies View Related

Import MS Excel Files Into One Table In MS Access

Jun 27, 2012

Im familiar with Ms Access, but have never used VBA or Scripts. I have 37 Excel files with the same data and would like to import into one file. Data will be received on a monthly basis into the same directory and I would like to automatically upload the data into the same file in Access.

View 1 Replies View Related

Import Excel Worksheet In Access Table [with Lookups]

May 31, 2007

Hi there,

I'm pretty new to Access so I hope this question is not to simple/stupid ;)

Ok, I have an Excel Worksheet that I want to import into an Access Table. The column headers are identical! The only problem is:

- the Access table looks up a couple of the columns from other Access tables. When I try to import the Excel data, Access does (properly) report an error.

- Error: the records from the Excel file were added to the Access table but not all values were imported (no values were imported into the lookup columns...)

Any idea how I should procede so that I can import my data into Access?

Thanks!
Steve

View 3 Replies View Related

Import Data Into Table From Excel Using Command Button

May 18, 2006

I'm looking for someone to help me with a solution to my problem of importing data into a data table.
What I'd like to do is have a command button on a form. When this button is clicked the records in a table are cleared out. Then I'd like for a browse window to come up to locate an Excel file. The user would select this file and the data would be imported into the data table that was just cleared.
Can this be done without too much trouble?

Thanks, Paul

View 4 Replies View Related

Modules & VBA :: Import Multiple Excel Sheets To One New Table

Nov 19, 2014

I have an Excel workbook with multiple sheets, all the sheets have the same headers and are formatted the same.

Problem 1 is I need some sort of loop so that all sheets will be imported, the names will vary so I can't use specific names to import.

Problem 2 is that I need to create a new TempTable based on the format of these sheets and have them all import to that one table.

I need to do some cleaning up and updating of the data before I run append queries to have it moved to a couple of permanent tables.

I know I've written the VBA to have a new table created on import and later deleted after all my queries run.

View 4 Replies View Related

Tables :: Import From Excel And Append To Existing Table

Apr 7, 2015

I am trying to import from Excel and append to an existing table. My excel sheet is named tblStatus and I am trying to append it to my Access table "tblStatus".

I get an error message that says "The first row contains some data that can't be used for valid Access Field Names. In these cases, the wizard will automatically assign valid field names." (I used the excel sheet to set up my table.) After I click OK, I get to the point where I can click finish, and I get a "Subscript out of range" error.

MY row headers are:
strOrderOps
strOrderNo
strOperation
strOrderType
dtmBasicStartDate
dtmActualFinishDate
dtmCalFinishDate
strStatus

I am not sure what is going on.

View 4 Replies View Related

Import Excel Data To A Table In Access Through Form

Sep 25, 2014

I wanted to import data in a access table using a form in access. The form should contain a browse button to browse the file and then a command button to start importing.

View 1 Replies View Related

Unable To Import Series Of Records From Excel Into Table

Oct 16, 2012

I am trying to import a series of records from Excel into a table in Access 2010. The field names in the Excel table match the field names in the Access table. The field formats are the same as well (both set to numbers).

I am receiving an "unparsable record" error for all fields in the Excel file that are being entered into fields in Access that are 'lookup' fields that allow multiple entries.

The Exel fields have been filed in with the 'numbers' that correspond to the correct 'lookup' selections. There is only one item in the excel field -> while access will allow multiple entries for the field, I for the records I'm importing I only need one.

For the fields that are 'lookup' but allow only one value the excel data is being imported and displayed correctly in Access.

Do I need to format the fields that are matching to multiple entry fields differently or in a special way?

View 7 Replies View Related

How To Import Multiple Excel Files Into One Access Table

Mar 25, 2014

I have a lot of Excel files and each of them has 3 sheets that I would like to import in Access 2010. How can I import them without having to do one by one?

I always get error on

Code : Application.FileSearch

View 1 Replies View Related

Database Setup: Use Access Or Excel

Sep 5, 2006

I have just begun learning MS Access and have some information already in an excel spreadsheet that is getting too big and I am trying to decide if converting the whole thing would be beneficial or jsut a waste of time.

The issue is the current excel file is a workbook of about 150 separate worksheets that are all hyperlinked to each other. It does everything I want, but I feel like it is getting to big and cumbersome and really all I want is to add one sheet/record and have all the totals/averages/"reports" update themselves. That is why I think Access might be better. Currently it takes a good minute to update the file when saving. The Excel file is about 13mb.

The data is basically all times from a mens & womens cross country team. I have one form I take to each meet and record mile splits, places, final time, etc. Then I return and currently put those times into excel. I have 4 years of data for each runner. I also have 10 years of team data that needs to be able to be recalled usefully. My spreadsheet also looks through all past meets and keeps a list of the top 50 times for both men and women. And compiles every practice/workouts for the past 8 years, etc. Plus a lot of other sheets/forms/reports/.

I started a database and have one table for Athletes, one for MeetEntry. I also created a report for the meet entry to send to media. I then started working with relationships between different tables and became overwhelmed with how to best set up the entire database. I came up with a list of things and organized them into what I thought would be best suited for Tables vs. Forms vs. Queries vs. Reports. With the limited info, any ideas on setup would be appreciated. Maybe I just leave it in Excel and forget Access.

I think with the complexity, this is much better suited to my needs but it may be just a bit over my head. I do not know an VB so that is also an issue.

Suggestions

View 7 Replies View Related

Import Multiple Excel Files Into Single Access Table

Jan 23, 2008

Hello,

I have some data in excel which I am importing it into MS Access 2002. Each excel file (one worksheet per file) is imported into separate tables.

I want to combine all my imported tables into one table. Is that possible, if yes then how and if no then what can be done to get single table after impoting data from various excel files.

Cheers,
Mandeep

View 14 Replies View Related

Modules & VBA :: Import To Access Table From Excel - Ignore Duplicates

May 6, 2015

I have code written which imports excel data to a access table but after the first import it fails due to duplicates, how can i tell it to ignore duplicates in the table and only copy new records?

code is below.

Code:
Function SyncEmployes()
Dim lngColumn As Long
Dim xlx As Object, xlw As Object, xls As Object, xlc As Object

[Code].....

View 6 Replies View Related

Tables :: Browse For Excel File To Import Into Access Table

Jan 15, 2015

I want a user to click a button, have the file open dialog open, they select a spreadsheet, and then it imports into a table. The problem is the filename can be different every time. The table name will remain constant.

Here is the OnClick:

Code:
Private Sub Command8_Click()
On Error GoTo Err_ImportSpreadsheet_Click
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel2Xml, "Table1", "T_Staff.xls", "Yes"

Exit_ImportSpreadsheet_Click:
Exit Sub

Err_ImportSpreadsheet_Click:

Resume Exit_ImportSpreadsheet_Click
End Sub

View 1 Replies View Related

Queries :: Import And Process Excel File Before Writing To Table

Jul 2, 2013

I am periodically importing Excel files into access.Making the data usable requires removing spaces, parsing certain fields, adding datasource field, etc. Currently, I am importing the un-formatted data into a staging table, cleaning it up with a query and then copying the updated staging table to the final table.

View 2 Replies View Related







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