Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / May 2005

Tip: Looking for answers? Try searching our database.

Date in SQL Server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Drew - 09 May 2005 16:39 GMT
I have a report that displays an Employee's information.  The database has
the following fields,

EmpID,
EmpFName,
EmpLName,
EmpMName,
PosID,
EmpAddress,
EmpStartDate,
EmpSepDate

The problem I am having is that the EmpStartDate and EmpSepDate have the
following data,

1900-01-01 00:00:00.000

On the report, it shows as 12:00:00AM.  I need to only show the date only if
it isn't as above.  I have tried the following,

=IIf([EmpSepDate]="1900-01-01 00:00:00.000","",[EmpSepDate])

Thanks,
Drew
Pieter Wijnen - 09 May 2005 20:05 GMT
I'd update all default dates to NULL which offcourse needs to be taken into
consideration when running queries

HTH

Pieter

>I have a report that displays an Employee's information.  The database has
>the following fields,
[quoted text clipped - 20 lines]
> Thanks,
> Drew
ËÎ - 31 May 2005 13:20 GMT
> I have a report that displays an Employee's information.  The database has
> the following fields,
[quoted text clipped - 20 lines]
> Thanks,
> Drew
ËÎ - 31 May 2005 13:20 GMT
> I have a report that displays an Employee's information.  The database has
> the following fields,
[quoted text clipped - 20 lines]
> Thanks,
> Drew
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.