Results 1 to 2 of 2

Thread: Select using DBnull

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2007
    Posts
    362

    Select using DBnull

    How can i select data in my report based on DBnull values.

    I want to select the data from table 'A' whose corresponding certain field value in table 'B' is DBnull, using Select Expert. How can i do this ? The corresponding field in Table 'B' is String or Date.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Select using DBnull

    Assuming you are using Crystal reports you would need to base the criteria on a Formula. The Formula code would be

    IsNull({Name of Field})

    Crystal will then add the above to the SQL statement it generates ie

    Where [Name of Field] Is Null

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width