My Assistant
![]() ![]() |
|
|
Mar 26 2006, 02:25 PM
Post
#1
|
|
|
UtterAccess VIP Posts: 1,420 From: NV |
How do I transfer ending inventory to new record as begining inventory?
Thank You.
Attached File(s)
|
|
|
|
Mar 26 2006, 02:27 PM
Post
#2
|
|
|
UtterAccess VIP Posts: 6,898 From: Earth... |
Jur,
Welcome to UtterAccess. Can you elaborate on just what you are trying to do? Aqua |
|
|
|
Mar 26 2006, 02:29 PM
Post
#3
|
|
|
UtterAccess VIP Posts: 1,420 From: NV |
I posted File if that's helpful
|
|
|
|
Mar 26 2006, 02:36 PM
Post
#4
|
|
|
UtterAccess VIP Posts: 1,420 From: NV |
When I want to make a new entry under the same ProductID I'd like to have ending inventory from last record appear as begining inventory in a new record.
|
|
|
|
Mar 26 2006, 02:42 PM
Post
#5
|
|
|
UtterAccess VIP Posts: 6,898 From: Earth... |
Did you 'try' using decending order on the 'ProductID' in the query? In order to show the last entry on top.
Maybe I'm missing something..(IMG:http://www.utteraccess.com/forum/style_emoticons/default/sad.gif) Aqua |
|
|
|
Mar 26 2006, 03:23 PM
Post
#6
|
|
|
UtterAccess VIP Posts: 1,420 From: NV |
Yes I did.Didn't make any difference.Mayb I am not clear to explain this.Try one more time.When I go to new record and pull ProductID from cmb box to make a new entry I'd like to have begining inventory box filled automatically from last record of the same PartID from ending inventory.I hope this help.I don't want to look up this record and and do entry manualy.
|
|
|
|
Mar 26 2006, 03:29 PM
Post
#7
|
|
|
Retired Moderator Posts: 10,493 From: Lexington/Louisville KY USA |
Inventory is one of the hardest things to do correctly, even for experienced programmers. Your structure as it stands is not correct. It is not normalized. You need a transactions table, but, 'ending inventory' is a calculated value, not one that should be stored. Set up properly, you can use queries to calculate the quantity on hand at any given time. Access can't be effective and work like it's supposed to if you try to make it work like Excel. They're completely different animals.
Not trying to be harsh here, but, your project is just going to continue to give you problems until you fix the structure. My signature has a link to a 'primer' on database design and normalization. |
|
|
|
Mar 26 2006, 03:41 PM
Post
#8
|
|
|
UtterAccess VIP Posts: 1,420 From: NV |
That's what I thought.I just started working on this today for friend of mine.She does't keep track of individualy sold items.She counts ending inventory of of each ProductID at the end of the day and based on that determines how much of each product was sold and what was it's COGS.So I tried to structure this inventory transaction based on that.Also I am just a beginer in access trying to help her somehow.
Thanks Noah. |
|
|
|
Mar 26 2006, 03:48 PM
Post
#9
|
|
|
UtterAccess VIP Posts: 23,583 From: Mississippi |
If that is the way it is done, then you will need a way to determine the "last" ending inventory value of a particular product. Once you know how to do that, then a DLookup can determine the correct value and display it on the form.
|
|
|
|
Mar 26 2006, 03:50 PM
Post
#10
|
|
|
UtterAccess VIP / UA Clown Posts: 25,090 From: LI, NY |
This seems to be awfully cumbersome. What does she use for giving receipts or processing orders? Wouldn't it be better to give her a database she can use to create invoices or recipts that will then automatically record each sale so she can calculate inventory based on stock moving in and out (the proper as Noah indicated). Seems to me that will make your friends business run much smoother. it would also save time in counting stock at the end of each business day.
|
|
|
|
Mar 26 2006, 04:02 PM
Post
#11
|
|
|
UtterAccess VIP Posts: 1,420 From: NV |
Yes Scott that is the right way.I know little bit about accounting.But she doesn't have a point of sale or a system where each sale documents ProductID sold or quantity.No receipts eather.Just a old cash register where she can print total sale at the end of the each day and based on that and count of ending inventory she determines what was sold and for how much.Right now she is doing it in excel in bunch of different worksheets and workbooks.So I thought that access database would make it little easier for her plus give her easy of use and report capability.
|
|
|
|
Mar 26 2006, 04:06 PM
Post
#12
|
|
|
UtterAccess VIP Posts: 1,420 From: NV |
Thaks Frank I'll try that and let you know.It is in early experimental stages right now.Just trying to figure out what works and not, given my limited knowledge of Access.I think I can give my friend something little better and easier to use than Excel.
|
|
|
|
Mar 26 2006, 04:11 PM
Post
#13
|
|
|
UtterAccess VIP / UA Clown Posts: 25,090 From: LI, NY |
Ummm, What do the customers think about not getting receipts when they purchase something? I can't imagine doing business like that. Doesn't she have an accountant? What do they say about this? What she NEEDS is a rudimentary POS system and Access can do that fairly easily. She can use the computer instead of the cash register.
I would definitely try to bring her up to stream. She is probably doing double or triple the amount of work she needs to. |
|
|
|
Mar 26 2006, 07:33 PM
Post
#14
|
|
|
Retired Moderator Posts: 10,493 From: Lexington/Louisville KY USA |
No need for a DLookup here.
Any inventory system needs a 'stock take' table, to store the actual count of items and the date of that count. Either with a subform, or by basing the form on a query, you could display the last count with no need for the code required in a DLookup. |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 24th May 2013 - 04:25 AM |