Results 1 to 9 of 9
  1. #1
    ccress is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    3

    Creating a Database of in and out inventory management

    Hello! I need some help! Im by no means an avid Access user. Honestly, I dont exactly know what im doing.

    I am creating a database to manage the (in and out) inventory of a safe. The image below shows the form.
    Click image for larger version. 

Name:	Entry Form.PNG 
Views:	24 
Size:	25.4 KB 
ID:	37474
    The form of course goes to a table when a new record is created. (this signifies the item being placed in the safe) Im am also going to create a Release form, which will be completed when an item is removed from the safe. I am seeking assistance with finding a way to remove the item from the Entries Table, automatically when it is added to the Release Table (by completing the release form). I know how to make a query item on the release form to allow the user to select the record from the entries table, but I dont know how to move the entire record over, from one table to another without a complicated process. This form needs to be user friendly, for those users that arent very technically savy.



    Thank you in advance for your help!!
    Attached Thumbnails Attached Thumbnails Contraband.PNG  

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I wouldn't move it from table to table. Anything without a release date is still in the safe, anything with a release date has been...released.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    By the way, if it was necessary to move it, you'd execute an append query and then a delete query, each using the transaction ID on the form as a criteria. But I wouldn't move it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    ccress is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    3
    Quote Originally Posted by pbaldy View Post
    I wouldn't move it from table to table. Anything without a release date is still in the safe, anything with a release date has been...released.
    My supervisor wants to be able to see a valid list of all items currently in the safe. Would this be possible (Ie viewing a report that only shows items with no release date)?

    [Full disclosure Ive never made a report, or manipulated the data thats evaluated by reports so that will be a new learning experience for me]

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    That is what queries and filtered reports are for.

    Have you completed an introductory tutorial book on Access to learn these basics of Access functionality?

    Might look at MS Lending Library database template for ideas.
    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.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Sure, you use a query with a criteria of

    Is Null

    on the released date field. By the way, as a rule I'd store date and time together in the same field. It makes it easier if you ever need to do calculations on it (how long was item 123 in the safe?).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I'll get out of the way.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    ccress is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    3
    Quote Originally Posted by pbaldy View Post
    By the way, as a rule I'd store date and time together in the same field. It makes it easier if you ever need to do calculations on it (how long was item 123 in the safe?).
    I was having trouble with that, Using the field quick add feature, when selecting date / time it only allows date fields. I cant seem to figure out how to add a time stamp, or how to make them automatic based on the time the record is created.

    Again, I know these may seem like basic skills, but I havent used access since like 2014 I really appreciate your assistance.

  9. #9
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Understand that date/time is actually saved as a Double number type. A date/time field holds date and time components as a single value. Field can be set to display different date/time formats (I prefer to do formatting in controls on form or report).

    Date() function will return current date parts only.

    Now() function will return current full date/time.

    Use either of them in DefaultValue property and value will be saved when record is created and committed to table. Then use the same function in code when recording the return date/time if you are saving the return to the same record.

    Might be worthwhile spending a solid week with a tutorial for refreshing knowledge/skills.
    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. Creating a Database for inventory
    By Haoming0 in forum Access
    Replies: 5
    Last Post: 10-28-2018, 04:56 AM
  2. How to design a product inventory management database
    By ezybusy in forum Database Design
    Replies: 4
    Last Post: 01-31-2017, 06:55 AM
  3. Replies: 10
    Last Post: 01-06-2015, 12:37 PM
  4. Replies: 12
    Last Post: 06-06-2014, 01:25 PM
  5. Access Well Customized Inventory management Database
    By itzmemike in forum Programming
    Replies: 5
    Last Post: 04-20-2012, 02:32 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