AC5FF
Registered User.
- Local time
- Today, 16:38
- Joined
- Apr 6, 2004
- Messages
- 552
Okay, so I have an existing DB that was thrown together in a rush and done incorrectly. I am trying to recreate it from scratch, but I want to set this up correctly. So far I thought I was on the right track, but it is not operating as I would expect - or I am overlooking something that I hope someone here can point out to me.
Essentially, I am recording daily information on accounts. Originally all the information below was in one table; I've split that into 4 tables:
tblLOG
ID (primaryKey autonumber)
ReportDate
AccountNumber
Exception
Runtime
Avg
Send (y/n flag)
tblPROPERTY
PropertyID (primary key autonumber)
ID (to link to tblLOG)
cleared (y/n flag)
RespNotes
tblNOTES
NotesID (primary key autonumber)
ID (to link to tblLOG)
TechNotes
tblVACANT
VacantID (primary key autonumber)
ID (to link to tblLOG)
Vacant (Y/N)
Vdate
tblLOG will get 100 to 500 entries daily. Based off history, only a few (under 10) get flagged as Send. Anytime notes are received from a property or added by a tech they get added to that day's account number's link into the appropriate table.
As for the tblVACANT, thats just storing for me the last time an account was flagged as vacant (to ignore items in the tblLOG).
Like I mentioned, all these fields were in one table when I took over the DB. I'm pretty good at using what I am given, but I am not great at setting up a DB from scratch. Am I moving in the right direction?
Essentially, I am recording daily information on accounts. Originally all the information below was in one table; I've split that into 4 tables:
tblLOG
ID (primaryKey autonumber)
ReportDate
AccountNumber
Exception
Runtime
Avg
Send (y/n flag)
tblPROPERTY
PropertyID (primary key autonumber)
ID (to link to tblLOG)
cleared (y/n flag)
RespNotes
tblNOTES
NotesID (primary key autonumber)
ID (to link to tblLOG)
TechNotes
tblVACANT
VacantID (primary key autonumber)
ID (to link to tblLOG)
Vacant (Y/N)
Vdate
tblLOG will get 100 to 500 entries daily. Based off history, only a few (under 10) get flagged as Send. Anytime notes are received from a property or added by a tech they get added to that day's account number's link into the appropriate table.
As for the tblVACANT, thats just storing for me the last time an account was flagged as vacant (to ignore items in the tblLOG).
Like I mentioned, all these fields were in one table when I took over the DB. I'm pretty good at using what I am given, but I am not great at setting up a DB from scratch. Am I moving in the right direction?