Help database design (1 Viewer)

Kiwibaz

New member
Local time
Yesterday, 21:31
Joined
Jul 24, 2019
Messages
4
Hi,


Not sure if this is the right place to ask but im gonna start here and see where i get.


I'm looking at creating a digital Diving record sheet. I've got a little bit of an idea but am struggling with a few of the finer points and could even be going about them in totally the wrong way.


What is the best way to approach this? Just rack up a list of questions and ask away or is there a place where someone might be able to have a one to one with me and point me in the right direction.


Thanks


Baz
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 12:31
Joined
May 7, 2009
Messages
19,233
show yout excel record and somebody will give you the table structure you need.
 

Kiwibaz

New member
Local time
Yesterday, 21:31
Joined
Jul 24, 2019
Messages
4
Hi,


Thank you both for your replies.



We currently are using paper to record all the dives. I know what information we need to record but just want to discuss the best way to approach it as im sure what i have already got would be very clunky. I'm also looking to add a few look up and calculation fields to make ours lives easier.


Ive attached a couple of screen shots showing what we are currently using.


Thanks again


Baz


Screenshot (21).jpg

Screenshot (22).jpg
 

Gasman

Enthusiastic Amateur
Local time
Today, 05:31
Joined
Sep 21, 2011
Messages
14,265
Wouldn't you want predive/postdive pressure for each diver.?
 

Kiwibaz

New member
Local time
Yesterday, 21:31
Joined
Jul 24, 2019
Messages
4
we dive what they call surface supplied gas. Both divers are feed from a common source whether it be high pressure cylinder or a low pressure compressor. The bailout is the divers small 'get out of jail free' cylinder that the carry with them should their surface gas supply fail.
 

Gasman

Enthusiastic Amateur
Local time
Today, 05:31
Joined
Sep 21, 2011
Messages
14,265
Good luck with it. I can see a lot of work ahead of you. ;)
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Yesterday, 23:31
Joined
Feb 28, 2001
Messages
27,172
Baz, you are in the design phase. During this time, you need to apply many principles and it will seem frustrating at times. But it is one of the two most important phases of an end-to-end DB project. (The other is thorough final testing.)

When designing something, you are modeling a real-world business process. You said you are tracking something using paper records. One would presume that the goal would include some type of reports. Perhaps you have a regulatory issue as well, since your intro said you are a commercial diving supervisor.

The trick will be that if you want to automate your process, you need to quantify the process. You keep paper records. Quantifying the process means to identify the steps along the way from initial data entry on paper through any and all forms of report generation. At each step, identify how you would want to do that in Access.

You have to assure that you gather all the data you need for any/all reports and other types of output. Look at whatever reports you need to turn in now while you do it via the paper trail and verify that what you need for each report is or will be captured. If you have to work backwards from the report to the input phrase in order to assure data completeness, that's OK.

The most important rule is actually simple. Don't let the tail wag the dog. If your paper process is "the real world" and is compliant with all rules, laws, statutes, or whatever else might apply (both corporate and government), then your DB app has to very closely parallel that paper process (in a virtual sense, of course.) Don't let the fact that Access is doing it change the process essentials, whatever they are. In the world of science, there is a hard-and-fast rule: If reality and math disagree, the math is wrong. The corresponding rule is that if the process and the DB disagree on how something is done, the DB is wrong.

Therefore, do this NOW: Take the time to analyze the steps of your process. Do some refresher reading on topics like database normalization. And as a tip, read up on the things you can do with queries. They are your friends. Just remember that for most of the structures created in Access, you need recordsets as data sources. Recordsets include but are not limited to tables.

Note that if you need to see your records in a particular order, you need to include a method by which you can impose that order. That is because the formal set theory axioms, rules, and theorems on which SQL is based operate on whole SETS of things without regard to order. While you and I know that a computer has to do things one step at a time, the SQL rules are such that you should see it as though every SQL call operates monolithically on the whole table at once.

People don't appreciate this right away, but tables have no inherent order. I could tell you why this is so from a mechanical standpoint but it is boring and you have other things to consider right now. Queries can impose an order based on dates, serial numbers, names, or other factors. So refresh yourself on how queries work. Look at normalization. And be prepared to take a deep dive into your own processes as you try to build a paper model of what you do.

Probably wouldn't hurt to keep your design in a document that will help you remember WHY you chose something as well as WHAT you chose for each step. This is because of an old rule that one of my first supervisors from 40+ years ago told me: Paper has a better memory than people. Having a design document means you would be able to work on this, then get sidetracked by the inevitable priorities of the moment, and then come back to it months later for some tweaking. The design document is how you keep that memory fresh enough to be able to pick it up quickly.
 

Users who are viewing this thread

Top Bottom