david.paton
Registered User.
- Local time
- Today, 10:35
- Joined
- Jun 26, 2013
- Messages
- 338
I have made a table in which I had a field for a date of birth. When I created the table, I made the data type to be a number but used the input mask on the field as 99/99/9999. The reason for the option of the DOB is that we might not have the DOB on file for different people.
I have a search form in which there is a text box to type search criteria in and a list box that displays and narrows the search results as you type. The problem I am having is that their DOB is one of the displayed fields in the list box for each of the records but I think because it has been set as a number field, the dates just appear as an integer in the list box. So instead of having the date 26/05/1943, the date appears as 26051943. I could just change the data type to be a date but that would delete all the dates I have entered in there already and I really do not want to have to enter all of them in again.
Does anyone know if it would be possible, maybe with some coding, to get the list box to display the date field as part of the search results in the format 26/05/1943 instead of 26051943?
I have a search form in which there is a text box to type search criteria in and a list box that displays and narrows the search results as you type. The problem I am having is that their DOB is one of the displayed fields in the list box for each of the records but I think because it has been set as a number field, the dates just appear as an integer in the list box. So instead of having the date 26/05/1943, the date appears as 26051943. I could just change the data type to be a date but that would delete all the dates I have entered in there already and I really do not want to have to enter all of them in again.
Does anyone know if it would be possible, maybe with some coding, to get the list box to display the date field as part of the search results in the format 26/05/1943 instead of 26051943?