calculated address (3 Viewers)

ClaraBarton

Registered User.
Local time
Yesterday, 18:44
Joined
Oct 14, 2019
Messages
806
I have a nursery... Lanes (Rows) of trees, spaces (holes) for each tree. Each Tree has an address 34:125 or 17:62 (Lane:Space).. This has worked well for many years. Suddenly we asked the daughter to do data entry. She added duplicate addresses. My fault so I'm reworking the back end. Should the address be a calculated field within the table? We never want duplicate addresses but we do have many duplicate lanes and spaces; 14:125, 14:126 etc. Or should I just limit the additions on the form that we use to add addresses?
 
that's a good idea. I have to research combined field indexes.
 
Be sure to have a referenced Lanes table, with a single column Lane as its primary key. Then create a relationship between this and the trees table and enforce referential integrity. This will protect the integrity of the database by ensuring that only valid Lane values can be entered into the trees table.
 

Users who are viewing this thread

Back
Top Bottom