Results 1 to 4 of 4
  1. #1
    BaldPlumber is offline Novice
    Windows 8 Access 2013
    Join Date
    Oct 2015
    Posts
    9

    Really daft noob question

    Hi



    I have a problem that I suspect is really simple to answer, but for the life of me, I can't find it.

    I am designing a form that uses a few rich text format text boxes, which contain quite complex HTML formatting codes and multiple fields. My problem is, that when I make a mistake, which I often do, it is extremely difficult to edit the control as I can't see all of the code.

    So, my question is, is there a way of displaying all of the code in expanded form so it is visible in its entirety?

    Many thanks
    Mike

    Edit: I should add that my solution so far is to use cut and paste to notepad, which is a bit long winded.

  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
    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
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    change the textformat property of your form control from richtext to plaintext

    You could use some code like this in you form control to toggle between the two views

    Code:
    Private Sub sometext_DblClick(Cancel As Integer)
    
        If sometext.TextFormat = 0 Then sometext.TextFormat = 1 Else sometext.TextFormat = 0
        
    End Sub

  4. #4
    BaldPlumber is offline Novice
    Windows 8 Access 2013
    Join Date
    Oct 2015
    Posts
    9
    Thank you both.

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

Similar Threads

  1. Replies: 6
    Last Post: 10-09-2013, 02:08 PM
  2. Complete noob question
    By lithium630 in forum General Chat
    Replies: 3
    Last Post: 12-12-2012, 10:03 PM
  3. Please help noob question.
    By Deano in forum Forms
    Replies: 3
    Last Post: 01-24-2011, 12:33 PM
  4. Total Noob Question
    By skubeedoo in forum Access
    Replies: 18
    Last Post: 09-23-2010, 03:03 PM
  5. Daft question but...
    By Procom Webserve in forum Forms
    Replies: 1
    Last Post: 12-07-2009, 10:48 AM

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