Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 May 8th, 2011, 06:57 PM
Authorized User
 
Join Date: Dec 2003
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default stock book problems

hi
[FONT='Arial Narrow','sans-serif']i have stock table and sales tbl[/FONT]
[FONT='Arial Narrow','sans-serif']fiels are pid(pk),sdate, qyt and sale table are cid,s_product, s_date, Sales, opening balance, closing balance[/FONT]
[FONT='Arial Narrow','sans-serif']I creat sales book in access form[/FONT]
[FONT='Arial Narrow','sans-serif']my table field are [/FONT]
[FONT='Arial Narrow','sans-serif']cid, product, date, Sales, opening balance, closing balance[/FONT]
[FONT='Arial Narrow','sans-serif']01 tv 01/01/2011 50 500 450 [/FONT]
[FONT='Arial Narrow','sans-serif']now problems is when i go to click process[/FONT]
[FONT='Arial Narrow','sans-serif']in next day add a new record i want privies day balance like closing balance[/FONT]
[FONT='Arial Narrow','sans-serif']should come next day opening balance and another one if opening balance is < then sale[/FONT]
[FONT='Arial Narrow','sans-serif']massage should show ("opening balance is less then sales do you want add opening balance[/FONT]
[FONT='Arial Narrow','sans-serif']cid, product, date, Sales, opening balance, closing balance[/FONT]
[FONT='Arial Narrow','sans-serif']01 tv 02/01/2011 550 500 -50[/FONT]
[FONT='Arial Narrow','sans-serif']if closing balance < then opening balance to be add stock table [/FONT]
[FONT='Arial Narrow','sans-serif']in above method how should code please explain me thank full[/FONT]
__________________
Mohamed Mohiddin
Officer





Similar Threads
Thread Thread Starter Forum Replies Last Post
The book is now in stock! Lee Dumond BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 1 June 17th, 2009 04:01 PM
stock management- closing stock and opening stock bright_mulenga Access 1 July 16th, 2007 07:11 AM
problems with examples in book skicrud Javascript How-To 2 May 27th, 2004 08:52 AM
Problems with the examples from the J2EE book alf.guzman J2EE 0 April 20th, 2004 09:43 AM





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