Results 1 to 2 of 2
  1. #1
    tuyo is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    9

    Question DMAX syntax

    Hi! im having syntax error using dmax.
    can somebody help me? im just new to vba programming.
    also can the domain be a report?

    a = DMax("[Date_Received/dispatched]", "Inventory", "[Branch]='" & Keyword & "' and [ItemDescription]=" & Keyword3)



    Thanks!

  2. #2
    tuyo is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    9

    query result as criteria of dmax

    can i also use a query result as a criteria of DMAX?

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

Similar Threads

  1. Help with syntax
    By GWB in forum Queries
    Replies: 4
    Last Post: 01-26-2011, 03:33 PM
  2. Switching from string to a number using Dmax
    By dsheets05 in forum Access
    Replies: 3
    Last Post: 12-15-2010, 03:07 PM
  3. DMax Condition
    By Luis Ferreira in forum Forms
    Replies: 3
    Last Post: 11-05-2010, 09:48 AM
  4. Incomplete Syntax Clause (syntax error)
    By ajetrumpet in forum Programming
    Replies: 4
    Last Post: 09-11-2010, 10:47 AM
  5. DMax returning wrong value
    By nedbenj in forum Access
    Replies: 7
    Last Post: 10-24-2007, 10:30 AM

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