Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 16th, 2007, 05:19 AM
Authorized User
 
Join Date: Nov 2005
Location: Lusaka, Lusaka, Zambia.
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

Heelp

Bright

Bmulenga
__________________
Bmulenga
Reply With Quote
  #2 (permalink)  
Old July 16th, 2007, 07:11 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

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?


mmcdonal
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:45 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.