G
Guest
I have a training database.
To keep things simple, I have three tables as thus:
tble_supervisor
SupervisorID (PK)
Name
tble_spvrnoteslink
SupervisorID (FK)
NotesID (FK)
tble_notes
NotesID (PK)
SupervisorID
Date
Time
Message
DelNote (checkbox)
Description thus:
The purpose is to allow trainers / supervisors to send each other notes.
From the main menu, I have a button for opening the supervisor form. It is a
list in continuous form and each record has four buttons.
One button allows a supervisor to send a message to other supervisors. The
second button allows supervisor to view all messages sent by other
supervisors.
These received messages have a checkbox. What I am thinking is that I can
tick the checkbox and when I close the form the message will get deleted.
The problem is that I realised I am trying to delete a record from
"tble_notes" without deleting the appropriate records from
"tble_spvrnoteslink" first.
Should the delete checkbox be in "tble_spvrnoteslink" rather than
"tble_notes" ??
I hope this doesn't sound confusing.
To keep things simple, I have three tables as thus:
tble_supervisor
SupervisorID (PK)
Name
tble_spvrnoteslink
SupervisorID (FK)
NotesID (FK)
tble_notes
NotesID (PK)
SupervisorID
Date
Time
Message
DelNote (checkbox)
Description thus:
The purpose is to allow trainers / supervisors to send each other notes.
From the main menu, I have a button for opening the supervisor form. It is a
list in continuous form and each record has four buttons.
One button allows a supervisor to send a message to other supervisors. The
second button allows supervisor to view all messages sent by other
supervisors.
These received messages have a checkbox. What I am thinking is that I can
tick the checkbox and when I close the form the message will get deleted.
The problem is that I realised I am trying to delete a record from
"tble_notes" without deleting the appropriate records from
"tble_spvrnoteslink" first.
Should the delete checkbox be in "tble_spvrnoteslink" rather than
"tble_notes" ??
I hope this doesn't sound confusing.