Results 1 to 2 of 2

Thread: [RESOLVED] listbox field name and value

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Resolved [RESOLVED] listbox field name and value

    I have problem here. How I can enchance the display that show the field name and value in the listbox to make it look beautiful in term of alignment ?

    I have field name seperate with colon : and its value. I want it show something like this

    Code:
    ABCDE              : 1234
    Ab                 : 2345
    Abc                : 5643
    Code:
    List2.AddItem List1.List(j) & "  :   " & recs.Fields(List1.List(j)).Value
    Attached Images Attached Images  

  2. #2

    Re: listbox field name and value

    add vbtab to add tab to the text to align

    List2.AddItem List1.List(j) & vbtab & vbtab & " : " & recs.Fields(List1.List(j)).Value

Posting Permissions

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



Click Here to Expand Forum to Full Width