473,409 Members | 1,952 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,409 software developers and data experts.

Indicate different statistic values (max value, min value, mean value etc) for one fi

Hello everyone!
I´m quite new with Access and I´m not able to understand if what I have in mind can be done with Access or not.
Let me explain: my aim is to create a database of landslides where each landslide is described by different parameters. So in the table of "LANDSLIDE 1" I´ll have all the information about this landslide (location, length, width, altitude, etc). For some parameters I need to indicate different values e.g. for the altitude field I want to indicate the maximum altitude, the mininum altitude, the mean altitude, etc.
Is there a way to create these sub-fields (max, min, mean, etc) within one main field (e.g. altitude)?
Thanks a lot!
Jun 7 '18 #1
5 1210
twinnyfo
3,653 Expert Mod 2GB
Madda91,

Welcome to Bytes!

What you are talkilng about has to do with what us database guys call "Normalization". That's just a big word for "designing a database with a proper structure." There is a Bytes Article on Normalization that can help you through some of the theoretical aspects of DB normalization.

To more directly answer your question, conceptually, I would have a table called tblLandslides, which gives general information about each particular event (since multiple landslide could occur at the same location, we treat each event as a single entity). The Location of the landslide would be one of your fields.

Then, I would have atable called tblLocations, which lists those details about the altitude, etc. for each location at which a Landslide occurs. I would have separate fields for Min/Max/Mean.

All this just depends upon how detailed your reports on landslides need to be.

Although we can't build such a monster for you, we can help you work through whatever details you needs to manage.

Hope this hepps!
Jun 7 '18 #2
PhilOfWalton
1,430 Expert 1GB
What you want looks very easy to accomplish, but you need to do a little reading about database normalisation.

You must bear in mind that a table should contain only raw data, it should NOT contain calculated fields. Those calculations are usually done using Queries, and the results seen on forms or reports.

So, assuming your mean altitude is the average of max & min altitude, those are the two values to store in your table.

Phil
Jun 7 '18 #3
Thank you very much for your reply! It really helps

The idea of creating different tables for multi values parameters occurred to me, but I was worried about the large number of tables I´d come up with. But now I understood that Access is all about tables and queries between tables so I will do it this way.

Thanks again!
Jun 7 '18 #4
Thank you Phil for the specification! I would have done it wrong without it.

Madda
Jun 7 '18 #5
NeoPa
32,556 Expert Mod 16PB
PhilOfWalton:
So, assuming your mean altitude is the average of max & min altitude, those are the two values to store in your table.
That may be the case with either - only two values or - a perfectly even spread of data. Otherwise that won't be an assumption you'll want to make.
Jun 9 '18 #6

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

Similar topics

4
by: Dave | last post by:
Hi, I tried something with 'return value' of a function and i got two different behaviours. My question is: why does method 1 not work? Thanks Dave method 1: here, whatever i choose (ok or...
7
by: fdunne2 | last post by:
Hi, Is there a function in C that returns the max value in an array? I need a function that returns the max value and the corresponding array index. Also, when reading float values from a...
2
by: hal | last post by:
I dont know if this helps anyone but i've just banged my head for the past two hours with the problem of a dropdownlist in asp.net which somwtimes did not fired or when it was auto posted back the...
40
by: Zach | last post by:
Can someone please explain what this means and illustrate the difference with some code. Thanks, Zach
35
by: Frederick Gotham | last post by:
I'm writing a template, and I need to know the maximum value of a given integer type at compile time. something like: template<class NumType> class Arb { public: static NumType const max =...
7
by: turtle | last post by:
I want to find out the max value of a field on a report if the field is not hidden. I have formatting on the report and if the field doesn't meet a certain criteria then it is hidden. I want to...
3
by: nineoo | last post by:
To all, Ok , now this may sound a little crazy, but does any one know if there is a way to increase the maximum value of a unsigned long int? I'm aware of the the max value of an...
16
by: tarunkhatri | last post by:
Hi. I have a javascript function to change the value of the cell on chnage event of a dropdown list.My code is workin but the problem is that the value of the cell is chaning but not respective to...
10
by: Vivekneo | last post by:
Hi I am very new to web programming, trying to achieve a task, I have a form with 3 dropdown box and a text field(which is readonly). My problem now is, after selecting the above 3 dropdown boxes,...
5
by: sanndeb | last post by:
Hi guys hope you all are fine.... I'm totally new to SSRS 2008 & stuck in a problem. So please help. :) I have a crosstab report from northwind & I'm able to heighlight max value for each row...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.