Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Expert > X02 > < X01 | X03 >
Back to Access Expert 2    Comments List
First normal form Upload Images   Link   Email  
Bojana Bozovic      
3 years ago
Hi, can somebody help me about first normal form, about single value. I have a table with buyers, to be  more specific table what they are looking for. For example they are looking for first, second or third floor in a building. That is 3 values in a field. How can I improve that? Is it so big problem to have multiple values in one field?
Scott Axton            
3 years ago
Bojana
Each field should only contain 1 value.
NEVER put multiple values in a single field.  That will cause problems in the future.

Example:  Building XYZ has 3 floors with different departments on each floor - retail store, accounting and business office.

Your table would look like this:
Building name:  XYZ
Floor: 1
Department: Retail Store

So the second record would look like:
Building name:  XYZ
Floor: 2
Department: Accounting

and
Building name:  XYZ
Floor: 3
Department: Business Office

This way if you are searching for the Accounting floor you can tell right away it is floor 2 in building XYZ.
Does that help?  Watch the Expert 2 videos again.  it will come to you.
Richard Rost             
3 years ago
What Scott said is absolutely correct. Also check these out: Relationships Tip, Relationships Seminar
Bojana Bozovic      
3 years ago
Thanks for the answers, I will watch again and also think how to implement your suggestion on my problem. I want to make DB for real estate agent and try to see is there match between "Home for sale" and "Wanted home". Wanted home for buyers usually is not explicitly defined, they are looking for apartment between 1 and 5 floor, with one or two bathrooms etc. Maybe I can make separate fields, for each of this attributes- FloorMin and FloorMax, BathroomsMin, BathroomsMax. What do you think?
Adam Schwanz             
3 years ago
There's a lot of paths to the same ending. Many ways you could do this depending on how you want to run things.

You could do your solution
You could do just floors and only get the exact floors, or program in a + or - 1 floor to pitch ideas that are close, or you could set up a ton of filters that you could turn off/on to find certain combinations that you setup
You could just word the field values like a SQL statement =2, >4, BETWEEN 2 and 4 etc. and run the search off the fields values
I'm sure there's many more I can't think of right now

Lots of options here. Most things have multiple ways to achieve the same goal, you'll learn more and more ways to get to the end the deeper into the classes you go.

Long Story short, there's a lot of right answers, your idea can work, try it out. As long as it works how you want it to, mission successful :).
Richard Rost             
3 years ago
Yep. Adam has it. Use a query with BETWEEN.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Expert 2.
 

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 7/23/2024 12:37:25 AM. PLT: 1s