Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    bftsg is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2020
    Posts
    11
    Hi Orange - thanks for the prompt reply. The DMax command was actually working - it was my error calling the variable nNextReg instead of nNextReq.



    Thanks again for your help.

  2. #17
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Glad you found the issue and resolved it.
    Always use Option Explicit at the beginning(2nd line) of a module. It will find undeclared variables if there are any.

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

Similar Threads

  1. Replies: 1
    Last Post: 04-23-2019, 12:44 PM
  2. Replies: 2
    Last Post: 08-10-2018, 04:28 PM
  3. Replies: 5
    Last Post: 08-24-2017, 09:03 PM
  4. Replies: 1
    Last Post: 04-24-2012, 02:36 PM
  5. Creating unique record from record and field data
    By arthurpenske in forum Access
    Replies: 3
    Last Post: 08-24-2011, 06:11 PM

Tags for this Thread

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