Merging Multiple Tables With Auto-Numbering

Aug 3, 2007

I have 5 copies of a database that 5 users enter data into (including Pre, Post and Follow-Up information). These users send me their database quarterly and I am suppose to merge the data into one database from which to run reports, etc.

The problem comes in with the auto-numbering. Each "Pre" table has an ID that is auto-numbered. This auto-number is also stored when a corresponding "Post" (or follow-up form) is entered so that we can be sure the pre-, post- and follow-up are all linked to the same individual. When I merge the data, they are reassigned ID numbers in the Pre (while the Post still has the original Pre ID number) so now I've lost the link as to one individual's pre, post and follow-up form.

I realize now that the database shouldn't have been built this way, but is there any way to work around this. I've even tried exporting all of the rows for each of the 5 users into Excel and then importing them into Access in a new table (just so I could have the ease of running queries) but I seem to be getting errors doing that as well.

Any ideas?

Jen B. :)

View Replies


ADVERTISEMENT

Merging Multiple Tables With Auto-Numbering

Aug 3, 2007

I have 5 copies of a database that 5 users enter data into (including Pre, Post and Follow-Up information). These users send me their database quarterly and I am suppose to merge the data into one database from which to run reports, etc.

The problem comes in with the auto-numbering. Each "Pre" table has an ID that is auto-numbered. This auto-number is also stored when a corresponding "Post" (or follow-up form) is entered so that we can be sure the pre-, post- and follow-up are all linked to the same individual. When I merge the data, they are reassigned ID numbers in the Pre (while the Post still has the original Pre ID number) so now I've lost the link as to one individual's pre, post and follow-up form.

I realize now that the database shouldn't have been built this way, but is there any way to work around this. I've even tried exporting all of the rows for each of the 5 users into Excel and then importing them into Access in a new table (just so I could have the ease of running queries) but I seem to be getting errors doing that as well.

Any ideas?

Jen B.:)

View 2 Replies View Related

Tables :: Categorical Auto Numbering

Jul 12, 2013

I have a Chart of Numbers (range) that corresponds to a specific event

Event 1: 1000000000-1999999999
Event 2: 2000000000-2999999999
.... up to...
Event 9: 9000000000-9999999999

When they select Event 1 in the form I would like it to generate a unique Identifier within the range that Event 1's fall into. It would be an incremental increase for each Event 1 enterered. The same for the other 9 events.

The Event #'s are a quick and dirty way of knowing what type of event has taken place without reading any of the description. It is a requirement for this and I have no way around the Event #.

View 3 Replies View Related

Tables :: How To Reset Auto Numbering

Oct 22, 2013

Is there a way to reset the auto numbering? I import new data then archive the old data. As I do this weekly my auto numbers are getting high and my users do not care for this aspect

View 3 Replies View Related

Tables :: ID Field - Restart Auto Numbering

Mar 1, 2013

My ID field is an auto-assigned number. Is there any way to restart the auto-numbering at number 1?

View 14 Replies View Related

Tables :: Resetting Auto-numbering Field In A Linked Table

Sep 21, 2013

I have created quite a substantial and effective database for a small gliding club with all the major data tables being linked. I need to be able to re-index tables periodically so that running totals, which are needed to calculate statement balances, works correctly - all well and good. The only problem is that the process of re-indexing requires the data in the main table to be stored temporarily and the original data deleted. When the temporary data is appended to the main table the auto-numbering just keeps clocking up.how to reset the auto-numbering in a local table.

View 3 Replies View Related

Merging Multiple Tables?

Oct 26, 2007

I have data that splite by month, so january data separated from february data, an so on.
can i display those data on one table by using query?
if yes.how can i do that?

thanks

View 5 Replies View Related

Merging Excel File Into Multiple Tables?

Apr 18, 2005

I'm in the process of creating a database to track campaign contributions, and I'm kind of stuck.

I've created tables for the citizens, the candidates, and the contributions to the candidates. Now I'm trying to populate them with an Excel spreadsheet. The problem is I have no clue on how to split the Excel file so the appropriate parts go into each table.

The spreadsheet contains:
Name, address, etc. - This needs to go into the Citizens table
Names of candidates individuals contributed to - This needs to go into the candidates table.
Dollar amounts and dates of contributions - This needs to go into the contributions table.

Each citizen may have made multiple contributions to multiple candidates.

The easy way would be for everything to be in one table, but that would be a bad database design, right? Here's a shortened version of how my tables are designed:

Citizens: Name, contact info, etc. of citizens
Candidates: Name, party affiliation, etc. of candidates
Contributions: Candidate (fk is pk of Candidate table), Citizen (fk is pk of citizen table), contribution date, and contribution amount.

I appreciate the assistance, as I'm getting really frustrated.

J.C.

View 5 Replies View Related

Merging Data From Multiple Tables Into One Via A Form

Nov 2, 2004

Hi all, I'm not an Access programmer by trade, but unfortunately got handed a project that nobody else wanted.

I have a small database taking shape which will track the auditing of paperwork/files. Each file has a unique ID associated with it, in this case, an account number. Audits will take place by selecting the job area (department), then the type of file (Line, Loan, Increase). This will be used to sort which type of audit questions are asked.

I have the following tables created:

tblQuestions: ID, Question, Product question applies to, Function question applies to, Comment field, and result field.
tblTeamMember: MemberID, TeamMember, Manager, PrimaryFunction
tblAuditResult: AuditID, MemberID, AccountNumber, Question, Result, Comment, Date of Audit
tblProduct: List of product types (line, loan, increase)
tblFunction: list of job functions

Currently a form is displayed so the manager can select the job function, then the file type. This will display:

frmAuditCreate - this form contains the fields: txtAccount, cmbManager, cmbTeamMember, txtAuditDate
Sub form on frmAuditCreate - frmQuestionSub - this form contains the fields: Question, Comment, Result

The frmQuestionSub is built off a query which uses the function and product values to determine which questions to filter and display.

Now, once the user is done flipping through each question in the sub form and input the data into the comment and result field associated with that question, I need that information along with the information on the frmAuditCreate to be stored in the table tblAuditResult. This is the problem I'm having difficulty with. I can't find a way to copy the question, comment, and result and insert it into the same record as the rest of the data.

Unfortunatlly I can't strip the database down enough to meet the 100k or less attachment limit.

View 8 Replies View Related

Queries :: Merging Multiple Tables And Extracting Duplicates To CSV File

Feb 27, 2014

We are a non-profit that does blind mailings for our membership drive. The company who we buy names and addresses from sends us a delimited file that has these fields as the headings

" ID, FULLNAME,COMPANY, ADR1, ADR2, CITY, STATE, ZIP, FIPS"

Once they send out the mailings, people then send in back a remit slip with a contribution that gets scanned through a program that creates a file that gives us these titles

"ALT ID, AMOUNT PAID, RUN DATE, TENDER, FUND, PURPOSE, SOLICITATION, MEMBERSHIP QUESTION, MEMBER TYPE, CONSTITUENT TYPE, SEGMENT"

The "ALT ID" and "ID" are the same in both tables.

I need to find a way to merge the tables and combine the fields that have the same ID # , and then have it create a csv file that reads like this (see below) for only the files of the people that responded so that I can import it into our membership software.

"Alt ID","Title","First Name","Middle Name","Last Name","Suffix","Address1","City","State","ZIP","ct y_code","Amount Paid","Run Date","Tender","Fund","Purpose","Solicitation","Me mbership Question","Member Type","Constituent Type","Segment"

View 2 Replies View Related

General :: Merging Data From Multiple Tables Into Single Column

Sep 10, 2012

I've created a access database containing multiple tables, theres one main table that will contain all the data compiled.

I then have other tables that contain some matching data but with an additonal column filled in,

I want to be able to pull the data from these other tables into the main table and compile it including merging some data into a single feild.

Effectively this is what the inputs will be:

Code:

Table 1
Ident Number Solution TRN
T0941A1 SLN019149 EFE0008
T0941B1 SLN019149 EFE0008
T0941C1 SLN019149 EFE0008

Code:

Table 2
Ident Number Solution TRN
T0941A1 SLN019149 EFE0167
T0941B1 SLN019149 EFE0167
T0941C1 SLN019149 EFE0167

Code:

Table 3
Ident Number Solution TRN
T0941A1 SLN019149 EFE0188
T0941B1 SLN019149 EFE0188
T0941C1 SLN019149 EFE0188

Then the main table i want to compile the data like this:

Code:
Table 4
Ident Number Solution TRN
T0941A1 SLN019149 EFE0008,TRN0167,EFE0188
T0941B1 SLN019149 EFE0008,TRN0167,EFE0188
T0941C1 SLN019149 EFE0008,TRN0167,EFE0188

i want it to show as 1 line item and compile the TRN numbers into a single feild per row rather than having duplicates.

View 1 Replies View Related

Auto Numbering....

Aug 2, 2007

We have a part numbering system that is currently like this, 11Y22 where 22 increments by one until it gets to 99 where it then goes back to 0, once it goes to 0 the letter increments to Z in this case, now once the last three characters get to Z99, then the 11 gets incremented eg, 11Z99 will become 12A00. Hope that is clear :)

My question is, can this system be implemented into the auto numbering in Access?:confused:

Thanks in advance

RD

View 2 Replies View Related

Auto Numbering.....again

Aug 3, 2007

Is it possible to start auto numbering from a number other than 0? Say 2000 for example.

Thanks in advance

RD

View 4 Replies View Related

About Auto-Numbering

Feb 2, 2005

can I make a field that can auto-number which the format that I want??

As I know that there is two format for auto-number
but I don't like them

I want to number my own format

like
XXX-YYYYMM-ZZZZ

XXX is the category number that would be selected in the form connecting to table
YYYYMM is the date year and month
ZZZZ is another auto numbering

Can I do so

View 1 Replies View Related

Auto Numbering

Sep 28, 2004

How do I get a auto Number to start a 1001?

J

View 2 Replies View Related

Reseting The Auto Numbering

May 18, 2006

If I have taken a program to creat a new program......I have cleared all the tables and what not. When I enter my first record in the auto format number starts at 963....... How do I get this starting back at zero?

thanks

View 1 Replies View Related

Auto Numbering Problems

Oct 8, 2007

Not sure as to whether or not this query shoulsd go here or else where? But here is the problem. I have been asked to repair a database that has lost the autonumbering facility. Apparently this was caused by somebody leaving the database open when the network crashed.

Each team can access the database via forms but now when the team responsible for registring new pieces of work tries to enter a new piece of work the autonumber reverts to one already within the database.

I was told that the only fix to this problem was the DMax function which I am unfortunatley not familar with. Can anyboby explain how to go abouit this and where it should be used.

View 8 Replies View Related

Resorting Auto Numbering

Apr 8, 2008

*I know that this may not be the best way of resolving the problem but this is not the actual problem but my way to simplify of explaining the "problem".

I have a Table with 3 fields.
Field 1 - Auto Number
Field 2 - First Name
Field 3 - Last Name

Initially, the Table was sorted via First Name,
but now, there is a change in requirement to sort by Last Name.

Next requirement is to number (Auto Number) according to the Last Name.

Current Sorted via First Name
Auto Number - First Name - Last Name
1 - Ben - Young
2 - Chuck - Norris
3 - Dennis - Johnson
4 - Ernest - Anderson

If sorted via Last Name
4 - Ernest - Anderson
3 - Dennis - Johnson
2 - Chuck - Norris
1 - Ben - Young

Desired result
to Sorted via Last Name & (Auto Number) via sort.
Auto Number - First Name - Last Name
1 - Ernest - Anderson
2 - Dennis - Johnson
3 - Chuck - Norris
4 - Ben - Young

Is there a way to do renumber / resort the auto number this?



*I have thousands of records....

View 7 Replies View Related

Auto-numbering Gone Haywire!

Feb 14, 2006

Although there are few records in my database, the auto-numbering started at 45. So I deleted all the records so I could start from zero but it still happens. I checked all the properties of that field both in the form and the table itself and I can't find the problem. Any ideas would be most appreciated. :confused:

View 2 Replies View Related

Auto Numbering Gone Haywire

Mar 14, 2006

I was entering records using a form and all was well until suddenly the autonumbering went from 7 to 14! I went into the table and deleted #14 and tried it again - same thing happened.

View 4 Replies View Related

Auto Numbering A Select Query -

Sep 20, 2005

Can this be done ??

I have a query on a timer that basically looks at a linked table every minute and tells me whose in the database. I want to number the rows in a column so I can reference this to a form that has 7 spaces. The number of 'users' could vary from 0 - 23, although this will soon be limited to 7 (hence the 7 spaces) to aid performance and speed. I am then going to reference the number to the unbound space on the form, iif(isnull()) 'ing the blank cells so it isnt an error.

I thought of an append query, but the sequence will always start at the next number, not from 1 each time - or as far as im aware it will - so I cant reference the cell then.

Can any one help please.

View 2 Replies View Related

Queries :: Auto Invoice Numbering With Prefix

Jul 29, 2014

How could let me get auto invoice number.... like press Button or combo box??

Here we got some related info: 10 customers, each I'd like to get invoice number with their own prefix, example ICP, CUC and etc...

Then, I would like numbering to be incremental from each customer, mean: CUC001, CUC002, then, ICP001, CUC003 and so on...

When I need to put these invoice number into Data Entry table which like below:

Load Date>>Customer>>Particular>>Quantity>>invoice No
1/Jan/2014>>ICP>>part A>>100>>ICP001
3/Jan/2014>>ICP>>part B>>200>>ICP001
5/Jan/2014>>CUC>>part C>>50>>CUC001
18/Jan/2014>>CUC>>part B>>200>>CUC001
23/Jan/2014>>ICP>>part C>>50>>ICP001

I could not use 'Auto Numbering' for each line, as I need out some lines accumulated for one invoice number 'ICP001'.

My questions:

1. What can I do to let me Automatic generate invoice number which increment from last number?
2. What can I do to let me easy to put those 'invoice number' into my Data Entry table's invoice number field? (p/s: Append Query? Update Query?)
3. What if I need sorting (example to group ONE customer and ONE Particular) for my invoicing number? What I meant is ... let say there is 30 lines customer CUC with particular Part B in a same month, and I wanna get them into same invoice number.

View 3 Replies View Related

Modules & VBA :: Auto Serial Numbering For Each Quotation

Apr 8, 2014

I am using an access program with a form with detail section. I would like to create auto sr.No when i am creating a new quotation. Using Autonumber didn't work because it start numbering from last quotation.

Snap shot is also attached.

View 3 Replies View Related

General :: Auto Numbering Records In Continuous Form

Oct 15, 2012

If I want to arrange records sequentially in a report I would do the following:

From the Toolbox (Access 1 - 2003) or the Controls group of the Design ribbon (Access 2007 and later), add a text box for displaying the number.

Select the text box, and in the Properties Window, set these properties:

Control Source =1 Running Sum Over Group...

How can I sequentially arrange records on a continuous form?

View 3 Replies View Related

Manual Auto Numbering Subject To Change In Date Field

May 18, 2006

Greetings everubody,

I've a problem and hope to get answers for,

The situation is that I have a table named patient and a form named [patient1] where it holds a textboxs named "MFC_Seq_no" and another to hold [date], now, I manged to do a manual auto numbering for "MFC_Seq_no" using the following VB :

Private Sub Form_Current()

If Me.NewRecord Then
On Error Resume Next
Me!MFC_Seq_no.DefaultValue = Nz(DMax("[MFC_Seq_no]", "Patient"), 0) + 1
End If

Whenever user create new record, the system will automatically store the next number in the new record.

Now, I've be requested to code that system to start again from 1 as value for "MFC_Seq_no" whenever there are changes in date field (i.e. next day in the date field)

Is this doable and how?

Q2. how to duplicate an entire record with a subform, from another table, in it?

Thanks,

View 2 Replies View Related

General :: How To Have Supplementary Auto Numbering Column To Give Invoice Numbers

Dec 29, 2014

I have the auto ID number set up set up on my Access database which gives me membership numbers. How do I have a supplementary auto numbering column to give me invoice numbers. You used to be able to do this automatically up until a few years ago. Now I have to enter them manually.

View 8 Replies View Related







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