Results 1 to 5 of 5
  1. #1
    tdelios is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    8

    On Format Event Code Not Working Properly Using Character Map Characters On Labels

    Hi All..



    I have a a few labels on my report that have the visible property set to FALSE.

    Within my OnFormat event, depending on what the value is within the record will trigger each one of the label's visibility to be TRUE (else FALSE).

    Right now I am using the capital 'X' in the "caption" property for each one of these labels.

    But I really want to use the character ▌ that I found in the character map for the caption. The problem is that the OnFormat event does not want to use this ▌ character for some reason in the report. What ends up happening is that my entire report comes out blank as if there was no character in the caption field.

    So my overall 2 questions I have are:

    1. How can I get the ▌ character to be visible in my report using the OnFormat code and caption property on the label?
    2. are Character Map characters allowed to be used in Access?

    thanks
    tom

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    I have copy/pasted characters from the character map (usually the degree symbol) and it prints in label or textbox control.

    Exactly what character set is the ▌character from?
    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
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Have you tried typing | into the Caption property of the label via the Properties Sheet while in Design View of your Report?

  4. #4
    tdelios is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    8
    Quote Originally Posted by June7 View Post
    I have copy/pasted characters from the character map (usually the degree symbol) and it prints in label or textbox control.

    Exactly what character set is the ▌character from?

    It's the 'Arial' from the front character set drop down list in the character map..

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    I have no problem printing that character in label (but not in textbox). Cannot replicate issue.

    Did not test with code to set visibility. Don't think that should make difference. Suggest you test this character in a label set to always display.
    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.

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

Similar Threads

  1. INSERT INTO code not working properly.
    By Alphix in forum Forms
    Replies: 8
    Last Post: 11-12-2014, 04:10 PM
  2. Replies: 2
    Last Post: 01-15-2014, 07:57 PM
  3. Replies: 4
    Last Post: 08-28-2013, 05:20 PM
  4. NotInlist Event not working properly
    By thanosgr in forum Programming
    Replies: 2
    Last Post: 06-14-2012, 01:46 PM
  5. Msgbox And Search Code Not Working Properly
    By vampyr07au in forum Forms
    Replies: 1
    Last Post: 05-02-2011, 05:16 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