Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It sounds like the FindFirst is never locating the duplicate. Can you put a MsgBox in the procedure that shows the value of Me.RecordsetClone.NoMatch? Any chance of you posting your zipped up db so I can look at it?

  2. #17
    hawzmolly is offline Advanced Beginner
    Windows 10 Access 2010 32bit
    Join Date
    Oct 2008
    Location
    Green Bay, WI
    Posts
    77

    Per your request

    I have removed the names from the tblContact to maintain HIPPA. I have included three phony names under three ficticious MRN's - 000001, 000002, and 000003. The rest of the MRN's are actual patient MRN's.

    The form in question is "frmPatientEntry" for initial data entry and the readmit form is "frmTimeData".

    Have a ball and thanx for looking.

  3. #18
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Hi Molly,
    The main problem was that the form had the DataEntry property set to YES so the RecordSet AND the RecordSetClone had no records. Only New records are returned when this property is YES. I simply used a new RecordSet for the .FindFirst You will see I made some changes to the two forms and created a couple of queries. It is always a good idea to use queries of tables rather than tables directly. I would also set the sort criteria in the query rather than the form.

  4. #19
    hawzmolly is offline Advanced Beginner
    Windows 10 Access 2010 32bit
    Join Date
    Oct 2008
    Location
    Green Bay, WI
    Posts
    77

    Thank You - Thank You - Thank You

    Thank you very much. I think I have found the error of my ways with your help. I am sure I''ll be back with another question or two on any number of issues this rookie will definitely run into.

  5. #20
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Glad I could help. Are we ready for the link in my signature yet?

  6. #21
    hawzmolly is offline Advanced Beginner
    Windows 10 Access 2010 32bit
    Join Date
    Oct 2008
    Location
    Green Bay, WI
    Posts
    77

    Link???

    Sorry, I don't have a clue what your question means.

  7. #22
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It looks like you already marked this thread as Solved. The link in my signature takes you to the directions for doing do.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. aSTR = Dir("C:\*.*") >> "Type Mismatch"
    By JGrant in forum Programming
    Replies: 1
    Last Post: 03-28-2009, 05:17 AM
  2. Replies: 0
    Last Post: 09-25-2008, 12:19 PM
  3. Export to .rtf of "104-" converts to "-655&qu
    By Sherri726 in forum Import/Export Data
    Replies: 0
    Last Post: 12-19-2006, 03:16 PM
  4. Replies: 2
    Last Post: 08-31-2006, 12:19 PM
  5. "Count" and "Countif" in Reports
    By JMantei in forum Reports
    Replies: 1
    Last Post: 06-20-2006, 02:20 PM

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