Results 1 to 5 of 5
  1. #1
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451

    edit text box with new format


    i have a request for work form that a supervisor views all requested work and either approves or denies the request to proceed further into the planning phase. my curiousity is if this supervisor denies the work i would like to know why it was denied if i go back thru old records. can i have a text box formatted with black during the request phase and if the supervisor wants to denie the work his notes to that field are added in a differant color like red?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    What identifies a record as 'approved' or 'denied'? There is a field for this flag?

    The notes field can have back color or font color dependent on value in the status field. Use Conditional Formatting.

    Textbox and combobox have Conditional Formatting available.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    thanks June, yes there is a field for approved or denied but if i use conditional formatting won't that affect the entire entry in the text box. don't think i was clear on the first post. this is a message box that the individual puts notes about the requested repair. my curiousity was that if the supervisor could use that same text box but his entry would be red instead of black. that way we could look back thru old entries and distinguish at what phase of the request the parts of the message came from. my other option that came to mind was a separate text box for the supervisor to put his notes but i would like to avoid that if possible.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Access has very limited text formatting capability. What you want would require Rich Text Formatting. A memo field in table would have to be set as RTF and then textbox with corresponding setting which will enable RTF tool bar. User can apply RTF formatting to text. Basically, this embeds HTML code tags into the text string.

    Your arrangement that allows multiple notes input to same field is not a normalized data structure.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    understand June, sounds like for data storage space alone i would be better off giving the supervisor a seperate text/memo box and maybe limiting the number of characters. was hoping for a easy color designation. thanks

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 05-21-2015, 09:23 AM
  2. How to format text in a text box or label
    By Abacus1234 in forum Forms
    Replies: 18
    Last Post: 01-27-2015, 03:04 PM
  3. Replies: 2
    Last Post: 07-09-2014, 06:41 PM
  4. Edit a publisher text box with VBA?
    By wackywoo105 in forum Programming
    Replies: 4
    Last Post: 06-26-2014, 02:18 PM
  5. Edit Buttons for a Rich Text Box on Form
    By trb5016 in forum Forms
    Replies: 2
    Last Post: 10-13-2010, 12:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums