Results 1 to 7 of 7

Thread: [RESOLVED] how to keep leading 0's

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    2

    Resolved [RESOLVED] how to keep leading 0's

    hi all,

    i have been using the search function of this forum alot (THANKS!!)
    but now im kinda stuck on something thats prob to easy to find on the forums

    i got a text box that contains the value 001
    but it could also contain a value like : 010 or 0234 or 12317398782435
    i want to add 1 to the value the thing im trying now it this :

    Me.Controls("Text" & e - 10).Text = Me.Controls("Text" & e - 10).Text + 1

    this changes 001 in to 2
    and not 002 as i would like.

    any ideas are welcome
    Last edited by bananiel; Sep 3rd, 2010 at 04:01 AM.

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