Results 1 to 4 of 4
  1. #1
    Jen0dorf is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453

    fault finding

    Hi



    I Have three tables linked with various queries linked to tables. The end result is a display of essential information in a simpledatasheet format.

    One of the fields I've set as a hyperlink to open a form showing all details

    Code:
    Private Sub Surname_Click()
    DoCmd.OpenForm "frm_Detail", , , "GraveID = " & Me.GraveID
    End Sub
    with 39000 records in the database I tested I guess 50 or 60 and from all the searches that drop me into the the basic information field.

    A couple of users have come back to me because when on specific records - and it seems on those records only- when they press the button they get a white screen.

    Is there any way I can error trap this?

    thanks

    Ian

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Might GraveID be Null in those records, or not exist in the source of that form being opened? It sounds like it's opening the form on an empty recordset.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Jen0dorf is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453
    THanks

    You were spot on as your hint took me to inner and outer joins which was causing the error. Time to learn more about nesting inner and outer joins

    thanks

    Ian

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Happy to help Ian.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Finding Coordinates
    By QuickJeff in forum Queries
    Replies: 6
    Last Post: 07-04-2016, 01:58 AM
  2. Query Producing Blank Rows? Fault IIf Logic?
    By kestefon in forum Access
    Replies: 6
    Last Post: 12-18-2013, 06:13 PM
  3. Finding Records that are not there!
    By TrudyD1474 in forum Queries
    Replies: 2
    Last Post: 06-18-2010, 04:41 PM
  4. finding a value in a recordset
    By TheShabz in forum Programming
    Replies: 9
    Last Post: 04-23-2010, 02:44 PM
  5. msaccess fault error
    By msmoore in forum Access
    Replies: 4
    Last Post: 02-09-2010, 03:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums