DatePart problem

T

Tony Williams

I have a Date/Time control on a form called [txtcd1retd] where the format is
dd/mm/yy and another calculated control called [txtyear] where the control
source is =DatePart ("yy",[txtcd1retd])
However I get #Error displayed in txtyear, anyone tell me why?
Thanks
Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How do I get a 2 digit date? 2
Calculated date control 9
Dmax problem 4
Ato generated control number 1
Another DLookup question 6
DatePart 1
assigning a value from a column of a combo 1
Datepart function 3

Top