Results 1 to 4 of 4
  1. #1
    xtrareal22 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2013
    Posts
    27

    How do i do to check the same thing is not entered?Help!!


    Hi, i have two four tables.Invent,trans,newOrder and reorder tables.The new order table is not joined by a relationship unlike the others which are joined with the Invent ID field.
    The new order table has the fields(ID,QTY,NAME,Order Date).I want to use this to order new items that are not in the Invent table.what do i do to check that i dont enter a new item name in the NAME field that is already present in the Invent table?Is it possible?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    You could use DLookup() function in code.
    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.

  3. #3
    xtrareal22 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2013
    Posts
    27
    can i do this using a macro since i dont know how to write a code??

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    I don't use macros but I think they can use domain aggregate functions (DSum, DLookup, DAvg, etc).
    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: 2
    Last Post: 01-04-2013, 10:05 AM
  2. How's This SubForm Thing Done?
    By abrogard in forum Forms
    Replies: 6
    Last Post: 07-13-2012, 10:55 PM
  3. Probably a Strange thing to ask
    By everette in forum Access
    Replies: 3
    Last Post: 03-26-2011, 08:33 PM
  4. Most likely a programming thing
    By dfelock in forum Programming
    Replies: 7
    Last Post: 12-21-2010, 11:10 AM
  5. Craziest Thing You've Seen/Done
    By Rawb in forum Access
    Replies: 1
    Last Post: 10-25-2010, 02:56 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