Results 1 to 2 of 2

Thread: NULL fields and numbers

  1. #1

    Thread Starter
    Addicted Member Geoff Gunson's Avatar
    Join Date
    Jun 1999
    Posts
    241

    Post

    To get round the "invalid use of NULL" you can use var = "" & rs!field_name, but how do I do the equivilant with numbers? I have tried:

    If rs!field_name <> Null Then

    but the code never enters the "if" satement.

    I don't really want to set the data to 0 either.

    Thanks

    Geoff

    ------------------

  2. #2
    New Member
    Join Date
    Oct 1999
    Posts
    7

    Post

    Try with:

    If Not IsNull(rs!field_name) Then ...

    Maxi

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