fat controller
Slightly round the bend..
- Local time
- Today, 09:31
- Joined
- Apr 14, 2011
- Messages
- 758
I have a form which has a text box which shows the date of a record (txtDate), and another that shows a vehicle ID (txtBonnet), both of which are not visible; I have a third text box (txtDisplay) which shows a string of text, referring to the two other text boxes - - generally works very well indeed, however.....
If the date is later in the month, it will show the date in the UK short date format (so today is 29/09/2015), but if it is earlier in the month, it will show it in the US format (so the 3rd September becomes 09/03/2015);
As part of the string, I tried to get it to format the date Format([txtDate],"dd/mm/yyy"), but that stopped any records appearing at all, so how do I get this string to show me the date in the correct format all the time?
If the date is later in the month, it will show the date in the UK short date format (so today is 29/09/2015), but if it is earlier in the month, it will show it in the US format (so the 3rd September becomes 09/03/2015);
As part of the string, I tried to get it to format the date Format([txtDate],"dd/mm/yyy"), but that stopped any records appearing at all, so how do I get this string to show me the date in the correct format all the time?