I am using VB 6.0 and I am having trouble formating dates that are keyed into the textboxes.
I'm using the code in a LostFocus event so the date will format once the user clicks outside the textbox. Here is my code.
VB Code:
txtEmployee(Index) = Format(txtEmployee(Index), "mm/dd/yyyy")
Once the textbox loses focus the date changes to some weird date that was not the one originally keyed into the textbox.