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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NULL FIELDS

Status
Not open for further replies.

jobillborf

Programmer
Feb 13, 2001
61
US
Hi, I am trying to do a report where the following will not appear in a PROBLEM FIELD "WFD" "WDUP" and "VOID". I also want the null records to appear.

When I do Not( {PROBLEM} like["WFD", "WDUP", "VOID"] THE NULL VALUES DO NOT APPEAR.

Please Help

thanks
 
jobilborf: You will also need to test for Isnull({Problem}) as in:

( Isnull({Problem})=true or Not( {PROBLEM} like["WFD", "WDUP", "VOID"] )

Hope this helps David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
thanks dcm, could you explain to me what the formula is actually doing. thank you for your help
 
jobillborf: The first part of the formula:

Idnull(Problem) = true

is checking for any record where Problem has a null value

The second part is your check for Problem not matching a defined list of values

The combination of the 2 gives a Boolean True/False reply which you can use to select data i.e. if this field were called @valid_record then you could include in your select expert the section

@valid_record id equal to true

Hope this helps David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top