Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR 9 - formula for selecting null date

Status
Not open for further replies.

CalgaryCR9

Technical User
Aug 12, 2005
80
CA
I'm using Crystal Version 9, Oracle, Sql.

My oracle table "System_Item" has a field call "END_DT". Apparently this can be a null value according to my DBA.

How do I write a record selection formula to select those records with a null END_DT?
 
Solved on own:

created formula @end_dt that read:

if isnull({SYSTEM_ITEM.END_DT})
then date(3000,01,01)

then put in details, suppressed, and entered record selection of selecting end_dt of 3000-01-01
 
Hi,
Or, use

IsNull({SYSTEM_ITEM.END_DT})

as your record selection formula - no need for the If..Then..




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top