problem with string method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smc1234
    New Member
    • Aug 2007
    • 1

    problem with string method

    I am writing a program that involves stringing to a multiline textbox. My problem is that when the first data is entered the second data entered replaces the first. I am wanting to display the data like a list. How do I go about doing this?
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Originally posted by smc1234
    I am writing a program that involves stringing to a multiline textbox. My problem is that when the first data is entered the second data entered replaces the first. I am wanting to display the data like a list. How do I go about doing this?
    You just need to concatenate the entries weith a line break between. Insert the constant vbNewLine between them.

    At a guess, you are forgetting to include the old value when you add the new one. If you simply place a value in a property (or variable), it replaces the previous value.

    Comment

    Working...