Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 16th, 2007, 05:19 AM
Authorized User
Join Date: Nov 2005
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default stock management- closing stock and opening stock

I am trying to create a stock management system. I have created a table with the following fields

ProductID, Date,Product name, opening stock, Purchase, desptches, closing stck.
Now my problem is how do I make the closing stock of the previous day or record be automatically transfered as the opening stock of the current day or record



Old July 16th, 2007, 07:11 AM
Friend of Wrox
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts

I would create a query that listed the TOP 1 for the table based on the date, and then take the closing figure and create a new record for the current day and paste that to the opening column. Who is responsible for doing this each day?

OR I would do this when the closing figure was entered. Check for Fridays and you are set. How much help do you need with the code?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stock feed hudeanee Excel VBA 1 July 24th, 2007 08:29 PM
Available... Units in Stock j-parker BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 December 24th, 2006 07:27 PM
Stock Quote automation aragrigorian BOOK: Expert One-on-One Access Application Development 0 May 24th, 2005 04:52 PM
Stock Quote JonnyRPI Classic ASP Basics 1 June 3rd, 2003 09:43 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.