Results 1 to 3 of 3
  1. #1
    vugar is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Apr 2014
    Posts
    53

    Warehouse DB

    Could you please help to this issue.

    In attached file I trying to create Warehouse DB.



    In Outgoing Query I try to set validation rule that when I can't write Quantity if i this item is not avilable in Incoming.

    Could you please help how I can do it.

    Because the I can't create relation with Outgoing and Incoming?

    Thank you
    WDB.zip

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    you dont need the relationship. you only need relationships with master/child keys. (like client-invoices)
    (where you dont want to orphan the child records.)

    can you validate BEFORE the record leaves a form? during user input?
    if this is bulk imported data , then you must validate before your outgoing can run and mark/remove bad records.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,958
    Validation does not take place in query, it is done in form design. As ranman suggests, code in the form or control BeforeUpdate event. Or configure a combobox to list only items that are available.
    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. WareHouse Datebase
    By vugar in forum Database Design
    Replies: 13
    Last Post: 06-17-2014, 05:37 AM
  2. Warehouse
    By vugar in forum Sample Databases
    Replies: 3
    Last Post: 05-01-2014, 06:36 AM
  3. Warehouse database
    By vugar in forum Sample Databases
    Replies: 6
    Last Post: 04-23-2014, 09:52 AM
  4. Warehouse location adjustment
    By tj63069 in forum Database Design
    Replies: 5
    Last Post: 01-11-2012, 06:19 PM
  5. Inventory/Warehouse Control
    By Maker in forum Access
    Replies: 3
    Last Post: 09-01-2010, 10:46 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