1,076,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

Posts by AndyPants which have been Voted Down

Try this:

dim SeriesNumber_in as string
dim SeriesNumber_out as int
dim mi as int

SeriesNumber_in="Put SeriesNumber Here"
mi=SeriesNumber_in.lenght

if mi = 1 then
SeriesNumber_out = 0 + mi
End If

SeriesNumber_out should give you the answer, for example if you input a 2 it will give you a a 02 but if you input something like a 12 it will stay un-touched.

plz reply if this helped or if you need further assistance. :)

AndyPants
Light Poster
41 posts since Oct 2011
Reputation Points: 15
Solved Threads: 1
Skill Endorsements: 0
 
© 2013 DaniWeb® LLC
Page rendered in 0.0431 seconds using 2.45MB