Tables :: Merge Spreadsheet Into Already Created Table

Jul 10, 2013

I've been having problems merging a spreadsheet with data into an already created table..

The main things in common is the "MC", "First Name", "Last Name".

I'm trying to update dates etc that are on the spreadsheet exported from another database, and update my datebase with those new dates..

View Replies


ADVERTISEMENT

Automatically Hide Any Tables Created In The Database Except One Table

Dec 4, 2006

I want to automatically hide all the tables in the database, and automatically hide any new tables that are created, imported thereafter, except one mastertable.
How do i achieve this?

View 4 Replies View Related

Automatically Adding New Records In 5 Other Tables When ID Is Created In Main Table

Jan 13, 2008

Okay I had an idea and I thought I might get ffedback as I am relatively new to this. I went through a period a couple of years ago when I used access alot and was becoming familiar with VBA etc but I havent touched it in 2 years so Im pretty rusty.

I am running a study and need to have to create a database that:

a. collects data about participants
b. Has a number of questionnaires (5), each of which can be filled out by participants.

THe main table has a number of fields that collects info about the participants the most important of which will be the ParticipantID - an automatically generated number which is my primary key.

In table 2/form 2 I will host questionnaire one. This will be linked to Table 1/Form 1 (Particpant Information) by this tables primary key - also the Participant ID. The relationship will be 1:1. Each participant can only have one Participant ID and will only need to fill out questionnaire one once.

Is it possible that when I add a new participant to the Participant Information table/form I also automatically create a record in Table 2/Form 2 (Questionnaire 1), as well as Table 3/Form3 (Questionnaire 2) and so on so that they have the same ParticipantID...?

I was reading a similar query somewhere else and they said to use the Form_AfterInsert Event command? Is this right (see here http://www.pcreview.co.uk/forums/thread-1687644.php)?

I feel a bit stupid but I am willing to learn and try new things Once I get started I think I will be okay. If you could steer me in the right direction it would be much appreciated.

View 12 Replies View Related

Tables :: Linking Excel Spreadsheet To Table?

Jan 7, 2015

I am creating a database for the company I work for. My boss wants it to have every information possible stored and accessible through the one database. Right now the time sheet that we use is a hard copy that the guys fill out and turn in each week. Before the database started I created an excel sheet for them to start using. My boss wants me to link the excel sheet to a table in access. The way it would work is each of the guys would fill theirs out and email them to me by Friday. I would then link it to the table so that we could easily pull information we needed through a query.

I read online on the office support website that you can link a spreadsheet but then access does not store the data and the data if needed to be changed had to be done through the excel spreadsheet. Doing it like that made it sound to me that each time sheet that was turned in each would would create a new table. I was hoping there was a way to have one table with all the times on it using an employee number as the relationship key. The biggest thing though is that the guys have to use excel to fill out the time sheet because getting each guy access is "not an option" .

View 14 Replies View Related

To Merge 2 Tables In 1 Table

Jan 10, 2007

Hi,
I have 2 tables which have the same variables:
1st is called "stockholm"
The other is "gothenburg"
I tried to query them but the query does not add everything, there are always missing records.

Any tips?

Thank you in advance & best regards
noah

View 1 Replies View Related

Tables :: Export Table In Spreadsheet Format Automatically At Given Time Or Date?

Sep 23, 2013

I have a simple and small database having only one table. I want the data table to be exported in a spreadsheet format automatically at the end of the month. Is there any code or function to do that?

View 1 Replies View Related

Tables :: Update Or Merge Data Into Table

Aug 15, 2013

I have an Employee Records table with 29k records that I originally imported from an HRIS system. Lets call this table ORIGINAL table.Each week I export a new Employee Records table from the HRIS system as it contains the latest updated information. IE - New hires, terminations, rate changes, etc. Lets call this table NEW table. It likely contains new records as well as we hire 100+ people per week.

In the ORIGINAL table, I have added fields that are not included in the NEW table. I need to update the records / fields in the ORIGINAL table with the NEW table, but need to keep the ADDED fields.Originally my plan was just to overwrite the ORIGINAL table with the NEW table until I added the additional fields to the ORIGINAL table. I thought that I could export the added fields in the ORIGINAL table, import the NEW table, and run and update query based on the EE ID#.

View 2 Replies View Related

Merge Columns From Many Tables Into One Column In New Table

May 21, 2013

I have 4 tables that store information on guest charges (stayinfo/room rate, fuel charges, bar tab, merch charges) each linked to table carrying guest ID's. Is there a way to combine/merge all the tables into one in such a way that all of the guestID's are in one column, all of the charges are in another column etc? Basically adding one table to the bottom of another.

View 1 Replies View Related

Tables :: ODBC Imported Tables / How To Ensure Index Is Created

May 13, 2015

I am currently using Microsoft Access 2010 32bit, and have one database acting as parent, with a second linked database as a client for people to work with, and the parent database has tables imported from Sage V21 via ODBC. I have used the following code as specified in other examples as follows:

Code:
DoCmd.TransferDatabase acImport, "ODBC Database", "ODBC;DSN=MyDNSMachineName;UID=MyUID;PWD=MyPassword;LANGUAGE=us_english;" & "DATABASE=pubs", acTable, "INVOICE", "INVOICE"

one of the tables has 10k records in it, it only transfers 77 records. After manually attempting an import via the ODBC wizard it finally lets me access all 10k records.I wish to have a single button click delete and import fresh tables without worrying if all the data is coming across.Also, when manually adding a table, I am usually asked by the wizard to specify an index, but with the code above, I am not offered that option and the tables come across with no index. I am led to believe that having tables that link to each other without an index is bad, so how do I ensure an index is created?

View 5 Replies View Related

Tables :: Created Multiple Tables In Database

Feb 19, 2013

I have created multiple tables in my database and now for some reason it keeps telling me it can not find a few of my existing fields.

View 5 Replies View Related

Linking Tables W/automatically Created Value

Nov 22, 2005

Don't know where this question will rank. Completely weird or completely common.

I've been getting great suggestions from this forum, one of them was to begin creating seperate tables for our data (I'm currently cleaning up a mess created 10 years ago for a nonprofit). The best way I have found to link/associate/whatever tables is to use their STUDENT identification number (since this value never changes). So we linked tests to that number (many tests to each student) by entering each new test as a seperate item with a manually entered stu id. We linked TUTOR and so forth the same way. But now I would like to start linking some more things. Particularly INSTRUCTION HOURS.

The question I have is this. How do I automatically create a value in the HOURS table that links to the value (stu id) in the STUDENT table. So that every student (previous and new) will have ONE associated HOURS set each time new student data is entered.

View 3 Replies View Related

Tables :: Access 2010 - Calculated Field Cannot Be Created

Feb 22, 2013

I have table of transaction data, I want to count the number of successful customer transactions but the table includes cancelled transactions with a negative value. I was therefore looking to create a new calculated field for customer count which report either "1" or"-1" depending on if the price is positive or negative. The idea being a count of this would give the customer count. The expression I am using is:

IIf([Price]>=0, 1, -1)

The problem is it I get an error message saying "The calculated field cannot be created" "verify that expression "IIf([Price]>=0, 1, -1)" includes fields that exist in the current table"

View 2 Replies View Related

Changing The Name Of The Created Table In A Make-Table Query

Sep 23, 2007

Dear Access Expert

I wanted to know if it is possible to change the name of the Table which is going to be created using a Make-Table Query via code (VBA).

For example if my Make-Table query currently creates a table with the name "Table1" I want to change it to name "Table2" and then change it Back to "Table1" or "Table3" etc.... depending on the users selection.

View 6 Replies View Related

General :: Can Create Extra Sub Table Under Sub Table Already Created

Jul 19, 2012

I have two tables. The first one is as follows:

MP No (Primary key), Sales, Date Entry, Specs, Email

The second Table is as follows:

MP No, Quantity, Description, DWG, Price

There is a "one-to-many" relationship between the two tables through the MP No field so whenever I go to the first table there is a sub-table for each MP No. Correct?can I create an extra sub table under the sub table already created?

View 10 Replies View Related

Tables :: How To Merge Large Data From Two Different Tables

Jan 1, 2014

So I have two tables,

table1: (company_name, company_code, year_month, rating)
table2: (company_name, company_code, year_month, asset, debt, equity,...)

What I would like to do is to call up all the data in table1, and then call up (asset, debt, equity,...) from table2 where the company_code and year-month are equal. What do you think is the best way to do this? Keep in mind a few things:

1. I'm dealing with hundreds of thousands of data lines
2. I may need to get more data similar to table2 in the future and call it up in the same way

I thought I should create a primary key "company_code-year_month"for both tables, but that method doesn't seem like a good one, and if I were to have another table, will have to create the same primary key for that table as well?

View 3 Replies View Related

Export All Tables In Access To A SpreadSheet

Feb 29, 2008

I have created about 7 tables in Access, which all have the same column names. I want to export all of the table's data at the same time into a Excel SpreadSheet using VBA.

Also I want specify where i want the data to go in the SpreadSheet e.g. All data will be exported to cell A4.

Any ideas or help?

Kind Regards
Richard

View 1 Replies View Related

Tables :: How To Use Spreadsheet In Tab Control In Form

Oct 5, 2012

i have created a form and added a tab control with a spreadsheet on each tab,(ex. column headings in spreadsheet, date of service,minutes tab headings ot visits, pt visits, dr visits, , however, i will need each spreadsheet to be visable when printed because forms will be used a cover sheet with summary of data

View 1 Replies View Related

Table Created By Files

Feb 23, 2007

I'm using access2003 and i want to organize a large amount of files in my company. There are thousands of files and I'm breaking the files up based on the dates. I want to create a table that automatically looks in each folder and links the job file with the job folder. This way I can create a custom query so a user just types in the job name and it will display what folder it is in. Can anyone out there help? Thanks

View 3 Replies View Related

Created Linking Table

Mar 12, 2013

I have a database with the following tables (among others):

tbl_Projects
tbl_Staff
tbl_ProjectsStaff
tbl_Payroll
tbl_Training
tbl_Clients

tbl_ProjectClients
tbl_ClientContracts
tbl_CostEstimates

As you can see I created two linking tables (project/staff and project/client).After that I linked other tables to the liking table. For example, tbl_Payroll and tbl_Training are linked to the tbl_ProjectStaff primary key.

I don't know much about access so I wanted to check if this is a correct design. I create forms that work well, but I noticed that the linking table doesn't have any data in it. The payroll table and the training table have the staff iDs and Project IDs but the tbl_ProjectStaff is empty.

View 14 Replies View Related

Tables :: Converting A Spreadsheet To Access Database

Dec 18, 2012

I have been tasked with converting a spreadsheet to an access database. I work for a growing firm of Tree-Surgeons (no pun intended), who service a sizeable chunk of the power grid in the UK. At any time, we have up to 150 operatives in the field, cutting vegetation around power lines. Because of the obvious danger, the power company need advance warning of where any teams will be cutting on any given day.

Various team leaders call in each day and give their intended locations for the following day to an individual who's responsibility it is to log the info onto a central spreadsheet, an Excel workbook. Each workbook contains a worksheet for each day (Mon-Fri). Each worksheet contains the following fields:

1. Number (Unique Numerical Sequence for the individual)
2. Name
3. Phone Number
4. Working/Not Working
5. Type of Line (132kv, Extra High Voltage (EHV), High Voltage (HV), Low Voltage (LV))
6. Area (in this case a lookup of 8 geographical areas)
7. SubStn Number (a name of exact location followed by nn/nnn) (LV Only)
8. Circuit and Pole Numbers (a location followed by nn) (HV Only)
9. Locality (nearest village/town)
10. Grid Reference (nn/nnn/nnn)
11. Time On-Site
12. Time Off-Site

So far I have created a table (Called Contact) for the individuals:

ContactID (Key)
ContactTeamNumber
ContactFirstName
ContactSurname
ContactMobileNumber
ContactTitle
ContactStatus

[code]....

Team Members can move between teams, but Team Leaders remain largely static.I guess I should create a separate table for Team Leaders and Team Members, with a one-to-many relationship between them? All of the others could be around the network but would not be attached to a Team Leader, so I guess they can be in the same table as Team Leaders for the purposes of tracking their location.

Also, what is the alternative to using a look-up for some of the fields, for example the Area field? I was concerned about breaking one of the commandments, and cant see a reason why, but I await enlightenment!

View 2 Replies View Related

Tables :: Importing Spreadsheet - How To Convert Data To PK / FK

Mar 14, 2013

I have a spreadsheet of generators with associated data: Make, Model, etc.

When I build the tables for the Make, each make will have it's own PK. Is there a good way to update the spreadsheet, replacing the Make for the PK other than using the find and replace function in excel (or update query in Access).

Example:

tblGeneratorMake
GeneratorID (PK)
GeneratorMake

John Deere has PK of 1
Kohler has PK of 2

If my spreadsheet has a list of Kohler generators, I need to change "Kohler" to "2".

View 14 Replies View Related

Tables :: Data Validation Using Excel Spreadsheet

Nov 26, 2012

How can I validate data using an excel spreadsheet?

I have a table with Product information, I want only the ProductId that are in the spreadsheet to be used in the database. How can I check the ProductID entered in the form actually exists in the excel spreadsheet?

View 1 Replies View Related

Tables :: Link A Spreadsheet Into A Web Information Source

Jun 4, 2015

In excel we have this option were we can link a spreadsheet into a web information source , is there any similar and easy method in access ?

View 1 Replies View Related

Is It Possible To Make A Table Replicable Thats Already Been Created

Jan 11, 2007

I have tables in a database that are not ticked replicable at present (tick button is greyed out), this is causing
the records in the table to become scrambled when we attemp to replicate the database.

Any advice please, with over 50 tables in the database we don't feel inclined to start from scratch.

Any help appreciated.

Matthew

View 7 Replies View Related

How To Add Fields To A Table After A Form Has Been Created.

Feb 24, 2006

Anybody able to help me with this. I think there should be a simple solution to it, but it eludes me at the moment. Basically, I have created a form in MsAccess with alot of vb script on it, but
now I realise that I have to add more fields to the source table.
If I insert a new unbound text box onto the form, how do i bind it to
the new field in the source table. is there a formula that I should
use? When I look at the dropdown in the control source property, it
only gives me the fields that were in existense at the time the form
was created?

your help appreciated

thanks

View 3 Replies View Related

Importing Data From A Spreadsheet To Existing Multiple Tables

May 30, 2006

First off, its been a long time since I have been here (since sometime in 2003 LOL), partly because I didn't have to create a new db in a while. Now, I have been handed a project and come across something new.

OK, here is what I want to do. I would like to be able to dump data from an Excel file into existing Access tables (two to be more specific). Now, I also have relating tables that add data into certain fields. I tried using a query to try to group data ad hopeful able to dump data through the query. I noticed that I couldn't import data through a query. Just for kicks, I tried to pull data through table and noticed that I can only create a new table, not able to update and existing table.

How would I go about performing this task? I have never attempted anything in the past.

Thank you in advance for your considered help,

Steve

View 3 Replies View Related







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