473,394 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Add SD column to an existing Access database with averages

11
I have a database containing an average column. I need to add a column of data listing the SD. How to I add this column and make sure each value is matched up with the right site? The averages database is in Access. The data containing the SD is currently in Excel. Each file contains the unique ID for each site.
Jan 16 '13 #1
7 1307
Rabbit
12,516 Expert Mod 8TB
How to I add this column
Go into design view of the table and add the column.

and make sure each value is matched up with the right site?
Import your SD data into a new table. Join to average table on the unique ID and do an update query.
Jan 16 '13 #2
Annerb
11
Do I go straight to making an Update Query or do I have to join these tables? I don't understand how to set up my query... Could I use the Append feature?
Jan 16 '13 #3
NeoPa
32,556 Expert Mod 16PB
It sounds like you're trying to make a database work like a spreadsheet rather than getting the extra benefits of the database (See Database Normalisation and Table Structures).

I would suggest (very strongly) that neither the Average nor the Standard Deviation of your data should be stored at all, but simply produced as and when necessary using a query (which is easily done with the functions available to you).
Jan 16 '13 #4
Rabbit
12,516 Expert Mod 8TB
@Neo, I believe they do not have access to the underlying data that makes up the averages and sd. But that is just an assumption on my part.

@Annerb, you can join tables and update in the same query. You would not use an append, that would only add records.
Jan 16 '13 #5
NeoPa
32,556 Expert Mod 16PB
Rabbit:
I believe they do not have access to the underlying data that makes up the averages and sd.
That would make an UPDATE query make good sense of course, and you're probably right. I wasn't able to decipher much of the question as so much seemed to be unexplained.

For detailed help with how an UPDATE query works see the Help pages found with the assistance of Finding Jet SQL Help.
Jan 16 '13 #6
Annerb
11
Thank you both for your replies. I'm new to Access so I haven't yet figured out differences in query functions and obviously didn't realize I left out some key details in my question.

@Neo I see your point about using databases to calculate Avg and SD. I can then export those values to Excel and manipulate, make graphs, etc there.
Jan 16 '13 #7
NeoPa
32,556 Expert Mod 16PB
AnneRB:
I can then export those values to Excel and manipulate, make graphs, etc there.
Absolutely. Much of what Excel can do can also be done in Access of course, but certainly Excel has more options and is a more natural fit for complex portrayal of data.
Jan 16 '13 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: powerrun | last post by:
Help! I have tons of info loaded into an excel spreadsheet that I need to transfer into an existing database in access. There is a specific Query I need the information to transfer to. This...
4
by: Peter Larsson | last post by:
Hello everybody, I'm developing a system for a company that has production at two different locations. The production is stored in an Access database at each location, and I need to find a way...
25
by: cory | last post by:
Hi, I have an Access database and am having an ASP.NEt application written for it. It is almost complete. I have a hosting company that I signed up with a month ago but before I did anything I...
1
by: Roy Gourgi | last post by:
Hi, I am using VS.NET 2003 and I have made a connection to a MS Access database using the Server Explorer. Is this connection permanent, meaning that it will be there every time I reopen my...
0
by: Jon S via DotNetMonster.com | last post by:
Hi all, I've just posted a similar post but I would be happy in just finding the below out. How would I assign a password to an already existing access database using (preferbly) C# or...
0
by: choknut | last post by:
guys i am a newbie in vb.net programming and want to seek help regarding my current program..i have an existing access database and want to use vb.net as to generate a report.question is how can i...
2
by: gmccammon | last post by:
I am working on a class assignment where I have to connect to an MS Access database. The perl script is contained in a separate file *.pl I went into Control panel/ODBC/ and selected Microsoft...
1
by: Rameel | last post by:
Friends, I'm probably being more critical with VB.Net Windows application. I have Developed VisualStudio 20005 VB.Net Windows application how willl i be able to save a specific record into my...
1
by: Dolly Kumari | last post by:
Hi, I want to write a Program in vb which will accept any Access database (.mdb file) and search a particular column value in all tables present in the database and will give the result as table...
14
by: SimeonD | last post by:
Hi I have an access database called Sales.Mdb In vb.net 2005, I'd like to open it. Which I can do. What I can't figure out is how to figure out if Sales.Mdb is open already. If so, I want to open...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.