Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the best way to handle a status history field 1

Status
Not open for further replies.

Pack10

Programmer
Feb 3, 2010
495
0
0
US
I have a text field (Notes) that is used to show the history of the record as it changes from status to status along the transaction route. The user selects the status from a combo box it displays in the value in the Notes text box with the date and value of the status, for example.

Notes:
1/26/2012 - With Analyst
1/30/2012 - With Manager
1/30/2012 - Revisions Accepted
1/30/2012 - With Manager
1/30/2012 - Released

The issue I have is if the user accidently selects a status that he does not want, that value still displays in the text box.
I have a line of code which reads ....
txtNotes = txtNotes & date & " " & me.txtStatus
So, the text box grows with each status, but all the accidental ones are there also.
What is the best design for something like this.
Should I write the note info to a separate table and make a subform out of it.



 
also use a cmd button to do the update where you verify the intended result with prompt confirmation before writing it to the related table

HTH << MaZeWorX >> "I have not failed I have only found ten thousand ways that don't work" <<Edison>>
 
Thanks all I will go with your idea
 
Used the related table and a listbox...worked fine.

thanks all
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top