How to justify text in memo field?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ammar yasir
    New Member
    • Jan 2011
    • 4

    How to justify text in memo field?

    how to justify text in memo field of a form and a report? i need some sort of code that keeps the text in memo field justified. there are only 3 options of text align, right,left, distributed. i want justify property. how to get that. pls help me out!!!
  • Stewart Ross
    Recognized Expert Moderator Specialist
    • Feb 2008
    • 2545

    #2
    You have answered your own question - justification is not an option provided by Access and cannot be implemented without the use of variable-width spacing between characters, which textbox controls cannot do.

    -Stewart

    Comment

    • ammar yasir
      New Member
      • Jan 2011
      • 4

      #3
      there must be some sort of code to this!!!

      Comment

      • Stewart Ross
        Recognized Expert Moderator Specialist
        • Feb 2008
        • 2545

        #4
        As I have mentioned there is no property which can be set, nor is there an alternative in code which truly justifies text. Some approaches have been taken over the years by using multiple space characters to mimic partial full justification, but without the ability to control spacing by small specific increments it is simply not possible to implement such techniques correctly.

        Fully-justified text is provided by Word itself and can be done either by exporting the results to Word, or using Word as an embedded object within your forms etc. This is not something I have used - I have not found it necessary use fully-justified text in any work I've ever done with Access - so I cannot comment further.

        -Stewart

        Comment

        • ammar yasir
          New Member
          • Jan 2011
          • 4

          #5
          i guess, there is no way to do that. what about the code at following link

          i tried to figure it out, but could not understand! can someone ll look at it please and reply me!

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

            #6
            That is a third party dll. You are aware that you will need to install it on every machine that will be opening the database right?

            Comment

            • ammar yasir
              New Member
              • Jan 2011
              • 4

              #7
              i didnt know that! thanks

              Comment

              Working...