Results 1 to 3 of 3
  1. #1
    jmyers6572 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2012
    Posts
    1

    Inventory -- auto deleting from table

    Hi everyone....a newbie to the forum and to Access. I use Access on a daily basis as an end user at work and am building my very first database for my woodworking business I started this year.

    So what I am wanting to do is import my Excel inventory list to a table. Along with the categories I have in Excel, I have created inventory numbers for my products. Since I'm not exactly a businessman and accustomed to inventory systems, my inventory numbers just start with "AA" and go on up (I chose this as opposed to assigning numbers so customers aren't confused when they see a price tag).

    Anyways, what Im doing is creating a Sales table and accompanying form for entering sales of each product. What I would like to happen is every time I make enter a record into the Sales form, I would like for the item to be deleted automatically from the inventory table.

    I know enough to be very dangerous and really confuse myself to say that I believe I will need to make some big ole IIF statement/string. But I throw in the white towel here. I am utterly clueless. Can someone help? And yes, I will insult my own intelligence and would appreciate any 1st grade level answers. LOL

    Thanks and Blessings...

    Jay Myers, owner of It's Saw Good

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    A well-designed db should not require deleting item just because its status has changed. Have you looked at template databases? The Northwind sales database is used extensively as a tutorial. http://office.microsoft.com/en-us/te...001228997.aspx
    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
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847

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

Similar Threads

  1. Replies: 2
    Last Post: 11-21-2011, 10:48 AM
  2. Replies: 8
    Last Post: 02-03-2011, 09:51 AM
  3. Replies: 11
    Last Post: 12-14-2010, 01:25 PM
  4. Deleting empty columns from a table
    By kapil0712 in forum Programming
    Replies: 3
    Last Post: 05-17-2010, 12:35 AM
  5. Restart auto number after deleting records
    By P5C768 in forum Database Design
    Replies: 1
    Last Post: 09-11-2009, 02:07 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