New User – The functions
decided to create a new user form, this is where people who are new to this program and dont have a combination code can create a new account ans store thier details to thier local database.
This page should include the typic fill in form components including:
- first name – Surname – Date of Birth – FBI department - combination code
the first name, surname, DOB, and department are all user inputted, but the combination code will be a generated random 5 digit number. Difficulty with this is the fact this we are dealing with numbers:
in vb, if you make a random generator code for numbers between 0 and 99999 (5 digits), if the result is 321 obviously it does not have 5 digits, because the 0’s dissapear because they are irrelivant and take up space.. this is a problem, as i Want 5 digits…