I have created a form that has 5 text boxes and a button. When the user enters a value in the boxes they click on the button to save the data.
The saved data must then be read to a text file in a required format.
For example, the data entered in textbox1 is a reference number. The reference number must be 6 digits. Therefore, when the data is read to the file the reference number will show 6 digits.
Does anyone know how to use the format function to ensure that 6 digits are read to the text file?
The saved data must then be read to a text file in a required format.
For example, the data entered in textbox1 is a reference number. The reference number must be 6 digits. Therefore, when the data is read to the file the reference number will show 6 digits.
Does anyone know how to use the format function to ensure that 6 digits are read to the text file?