Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2006
    Posts
    4

    Unanswered: Justified text box

    Help !
    I need a text box for a report that justifies left/right the text.
    Can anybody help me ?
    (sorry for my english, I am italian).
    Thanks

  2. #2
    Join Date
    Nov 2003
    Posts
    1,487
    The TextBox that comes with MS-Access contains justification and can be set during design time or run time (via VBA code). To set this during design, do the following:

    1) Place the report (or Form) in Design View
    2) Hit the F4 key to display the Properties window.
    3) Select the Format tab of the Properties window.
    4) Locate the Text Align property
    5) Select either General (default), Left, Center, Right, or Distribute.
    6) Save your Report (or Form).

    To do this with code during run time with code, place something like the following into the OnFormat event of the Details Section of the Report:

    If SpecificCondition then
    Me.MyControlName.TextAlign = 1
    Else
    Me.MyControlName.TextAlign = 3
    End If

    .
    Environment:
    Self Taught In ALL Environments.....And It Shows!


  3. #3
    Join Date
    Sep 2006
    Posts
    4

    Justified text

    Tanks Cyberlynx, but I need a really justified text. Look at what I obtained with distribution.
    Ciao !
    Attached Files Attached Files

  4. #4
    Join Date
    Nov 2003
    Posts
    1,487
    Okee-doekee....well then, thats kinda wacked.

    .
    Environment:
    Self Taught In ALL Environments.....And It Shows!


  5. #5
    Join Date
    Jun 2005
    Location
    Richmond, Virginia USA
    Posts
    2,763
    Provided Answers: 19
    Whta exactly do you meaan by "a really justified text?"
    Hope this helps!

    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  6. #6
    Join Date
    Dec 2004
    Location
    Madison, WI
    Posts
    3,926

    justify text

    Did you use the enter key for certain lines when you entered in that text?
    Expert Database Programming
    MSAccess since 1.0, SQL Server since 6.5, Visual Basic (5.0, 6.0)

  7. #7
    Join Date
    Dec 2003
    Location
    Dallas, TX
    Posts
    1,004

    Talking

    Quote Originally Posted by Missinglinq
    Whta exactly do you meaan by "a really justified text?"
    I know what he is really talking about....that kind of Justification simply spaces all the letters out to fill fully to both the Right and Left margins. I remember that from desktop publishing years ago. Thing is, I'm not sure that Access does that type of formatting.

    BUD

  8. #8
    Join Date
    Sep 2003
    Location
    MI
    Posts
    3,713
    Quote Originally Posted by Bud
    I know what he is really talking about....that kind of Justification simply spaces all the letters out to fill fully to both the Right and Left margins. I remember that from desktop publishing years ago. Thing is, I'm not sure that Access does that type of formatting.

    BUD
    Distributed or Porportioned (these might be one and the same)?

    A hack would be to space each letter and let nature (or formatting) take it's course ...
    Back to Access ... ADO is not the way to go for speed ...

  9. #9
    Join Date
    Jun 2005
    Location
    Richmond, Virginia USA
    Posts
    2,763
    Provided Answers: 19
    No Proportioned in Access, but Distributed is correct if he wants the data to fill the textbox completely i.e. justify text both left AND right.
    Hope this helps!

    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  10. #10
    Join Date
    Sep 2006
    Posts
    4
    I think Bud understood what I mean.

    Anyway, justifyed is

    |thi is an example|
    |of just. text. |

    while distribution is

    |thi is an example|
    |o f d i s tr. text. |

    for Pkstormy

    Yes, I use enter, but it seems to be uninfluent


    Thanks all.
    Last edited by almorel; 09-08-06 at 05:16.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •