Results 1 to 2 of 2
  1. #1
    Luchino is offline Novice
    Windows 10 Access 2013
    Join Date
    Dec 2015
    Posts
    11

    OpenForm macro only works for firs record on datasheet

    Hi everyone,



    I have this macro on the "ID" column of a datasheet. Basically, when I click the ID of the record, I want to be taken to a form displaying the details of that record. It worked up until yesterday, but I opened my database this morning to find that it only works for the first record in the datasheet, and for the rest of the records (all 7,000+ of them), it displays a blank form:

    Click image for larger version. 

Name:	macrodoesntwork.PNG 
Views:	8 
Size:	5.1 KB 
ID:	23050

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    So what has changed? Looks like that should work but I don't use macros, just VBA.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 4
    Last Post: 08-23-2013, 09:22 PM
  2. Web Database: OpenForm Macro to Specific Record
    By besuchanko in forum Macros
    Replies: 3
    Last Post: 07-25-2013, 12:17 PM
  3. Replies: 14
    Last Post: 07-17-2013, 06:46 AM
  4. Replies: 3
    Last Post: 09-09-2010, 08:02 AM
  5. OpenForm macro
    By tguckien in forum Forms
    Replies: 3
    Last Post: 07-06-2010, 09:12 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