Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 137
  • Last Modified:

Text in blocks with date stamp

Hello expert,

We are building an Access database to receive and maintain service requests.
A free text area is contemplated for notes so when new information is received or change in the
status of the request occurs it can be input.
But we are afraid that the Notes text area will become a jumbled mess.
Is there a way of inputting multiple blocks of free text that
1. Adds separate blocks of text
2. Has a date stamp or calendar drop down so each chunk of text has  a date associated
with it.
3. Puts the most recent text block on top

Thanks

Allen in Dallas
0
Allen Pitts
Asked:
Allen Pitts
  • 2
1 Solution
 
Dale FyeCommented:
Yes, but you would put this in a separate table with fields like:

Req_Note_ID (autonumber)
Req_ID (Foreign Key) - related to the Req_ID in your ServiceRequest table
Req_Note
Req_Note_DT

Then, to view the data, you would create a main form which contains most of the data for the service request, Req_ID, date, customer, address, phone, phone2,...

and would then create a subform which contains your notes.  The subform would be based upon a query that looks something like:  

SELECT Req_ID, Req_Note, Req_Note_DT
FROM tbl_Request_Notes
ORDER BY Req_Note_DT DESC

Then when you drag the this form onto your main form, you will have to setup the master/child relationship on the Req_ID field, so that when you move between records on the main form, the appropriate notes would be visible.
0
 
aikimarkCommented:
In Dale's solution, you would set the default property of the Req_Note_DT field = Date()
0
 
Dale FyeCommented:
Or, if you might make more than one note on the same day,

Now()
0
 
PatHartmanCommented:
The additional benefit of storing notes correctly is that you can also capture the ID of the person making the note and save that too.
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now