Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,974

    It's still not clear to me what you mean by 'dynamic'. I showed in post 10 how to make the expression dynamic for the search criteria.
    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.

  2. #17
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,531
    You showed how to make the value dynamic. OP wants the object names themselves to be dynamic. If they go the the Nav pane and rename a table, they want the table name in the DLookup to change along with it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,974
    I wonder if they really do need that. In post 4 they said "Experimenting trying to learn." My impression was that they changed table name just trying to figure out why DLookup was not working. The reason it didn't work was incomplete expression.

    AutoCorrect will not make the DLookup dynamic.

    But since thread is marked Solved, something in these responses resolved issue, just not sure what.

    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.

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

Similar Threads

  1. dynamic sql using control Name
    By gammaman in forum Programming
    Replies: 5
    Last Post: 11-28-2016, 12:40 PM
  2. Dynamic Form, Dynamic labels/ captions?
    By JFo in forum Programming
    Replies: 15
    Last Post: 10-12-2011, 08:33 PM
  3. Dynamic functions
    By bubu678 in forum Programming
    Replies: 2
    Last Post: 11-09-2010, 09:55 PM
  4. Dynamic reports
    By amonadi in forum Reports
    Replies: 1
    Last Post: 10-29-2010, 01:32 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