I have a linked table from Excel where the main date field displays "12/30/1899" if the field is null. How can I force access to read this field as null?
I don't think you want to change the data type to text.
12/30/1899 is the same as 0. You can use:
IIf(myDateColumn = #12/30/1899#, Null,DateColumn)) as DateColumn
Or, you can just set the Format property to display "" if the value is 0.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.