• Access 2000 Report/Leader Dots (2000 SP2)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Access 2000 Report/Leader Dots (2000 SP2)

    Author
    Topic
    #357633

    I was wondering if I’m able to fill a field in with leader dots. For instance, name…… (333) 333.3333. Where name and phone number are 2 different fields and I want the name field to justify out with leader dots. Any creative solutions? Thanks much

    Viewing 2 reply threads
    Author
    Replies
    • #531692

      Well, you could use the String() function. That allows you to produce a string of the same character of a given length:

      =[name] & String(60-(Len([name])+Len([phonenumber])),”.”) & [phonenumber]

      Just play with the number 60 until you get total field the length that you want it.

    • #531697

      On further consideration, this will not work. I failed to consider the varying width of different characters. Just having the same number of characters will not make them line up properly.

      You could make a text box composed entirely of dots then overlay this text box with your name and phone number boxes at each end.

      • #531726

        You can get over the problem of “varying width of different characters” by using a font with fixed spacing.

    • #532224

      When I found this on the vb world site I recalled your post!

      I

    Viewing 2 reply threads
    Reply To: Access 2000 Report/Leader Dots (2000 SP2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: