Results 1 to 3 of 3

Thread: Run-time error 94; Invalid use of a Null

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Location
    USA
    Posts
    27

    Post

    When some uses the navigation button and they get to enter the data into the form, if they hit the navigation button again, I get the Run-time error 94; Invalid Use of a null and it asks to end or debug. Is there a way that I can prevent this from crashing?

  2. #2
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281

    Post

    It would help if you posted some code

  3. #3
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274

    Post

    If the problem is in a variable or database field, may be you can use the 'IsNull' function to prevent the problem.

    Code:
    If IsNull(variable) then 
       'The variable has a null value
    Else
       'The variable has a value
    End if
    I hope this can help you. If not, please be more explicit or post some code.

    Good Look!
    Ulises Vázquez
    [size=1.7]Oracle DBA Certified Professioanl
    Visual Basic 6 Developer
    Crystal Reports Designer
    [/size]

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