- Aug 31, 2001
- 35,560
- 22
- 81
I've got a text box that requires a 16 digit number be inputted as an account number.  From that I need to split up the number into four different numbers and store them in an access database.  I can't remember how to take only parts of the string.  What I need is a setup like this:
First Entry: First 3 numbers of account number
Second Entry: Numbers 4, 5, 6, 7 of account number
Third Entry: Numbers 8, 9, 10, 11 of account number
Fourth Entry: Numbers 12, 13, 14, 15, 16 of account number.
I've got the code all configured to store the numbers into the database, but I can not remember the string modification code. Any ideas?
Will this work? 'If txtAccountNumber.Text <> "" Then fRS("Fund") = Left(txtAccountNumber, 3)
			
			First Entry: First 3 numbers of account number
Second Entry: Numbers 4, 5, 6, 7 of account number
Third Entry: Numbers 8, 9, 10, 11 of account number
Fourth Entry: Numbers 12, 13, 14, 15, 16 of account number.
I've got the code all configured to store the numbers into the database, but I can not remember the string modification code. Any ideas?
Will this work? 'If txtAccountNumber.Text <> "" Then fRS("Fund") = Left(txtAccountNumber, 3)
 
				
		 
			 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		
 Facebook
Facebook Twitter
Twitter