JamieRhysEdwards
New member
- Local time
- Today, 04:43
- Joined
- Mar 26, 2022
- Messages
- 27
Hi all,
Hopefully this is where this goes as it might not fit into a single chat area. In my current database, I have a notes field which is a Long Text in a contact table. However, this is what I would consider a dumb method in that it does not state who created the note, date and time and then the message. Instead, it just displays a message which can be deleted at any time.
So, I'm looking to have an area that allows the user to enter a note. Once they save the contact, this is then saved and in the contact form, there would be a subform which then displays all notes relating to this contact (which they won't be able to delete either as this is for auditing purposes).
Here's what I think how it should go so far:
1) The note should be in its own Table - Let's call it TableContactNotes. This table should consist of the following entities:
As mentioned above when the user enters the note in the Contacts Note TextBox and then saves the Contact, I guess it would then be saved into TableContactNotes. I would then need to create a SubForm which then grabs the information for a specific Contact from that table and then display the information in a tab on the Contacts Form.
Would this be the most efficient way of doing this? This would also prevent deletion by those without access to the actual table correct?
Thanks
Hopefully this is where this goes as it might not fit into a single chat area. In my current database, I have a notes field which is a Long Text in a contact table. However, this is what I would consider a dumb method in that it does not state who created the note, date and time and then the message. Instead, it just displays a message which can be deleted at any time.
So, I'm looking to have an area that allows the user to enter a note. Once they save the contact, this is then saved and in the contact form, there would be a subform which then displays all notes relating to this contact (which they won't be able to delete either as this is for auditing purposes).
Here's what I think how it should go so far:
1) The note should be in its own Table - Let's call it TableContactNotes. This table should consist of the following entities:
Code:
ID - AutoNumber - Replication ID - Primary Key
ContactID - Number - Lookup with TableContacts
UserID - Number - Lookup with TableUsers
Timestamp - Date/Time
Note - Long Text
As mentioned above when the user enters the note in the Contacts Note TextBox and then saves the Contact, I guess it would then be saved into TableContactNotes. I would then need to create a SubForm which then grabs the information for a specific Contact from that table and then display the information in a tab on the Contacts Form.
Would this be the most efficient way of doing this? This would also prevent deletion by those without access to the actual table correct?
Thanks