473,545 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

inventory

i've got a basic order entry d-base w/ a form for adding products, etc.

can anyone help me w/ inventory control?

i want to be able to not only enter a new product but also enter the number
of units. then once a sale is made on a given item it subtracts the number
of units sold from the inventory. is this a big task.

help

thank you,

//frank
Nov 12 '05 #1
9 3973
Yes, this is a big question.
There is no one-size-fits all solution, but to set you off on a useful path,
see:
Inventory Control - Quantity On Hand
at:
http://members.iinet.net.au/~allenbr...Inventory.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com...
i've got a basic order entry d-base w/ a form for adding products, etc.

can anyone help me w/ inventory control?

i want to be able to not only enter a new product but also enter the number of units. then once a sale is made on a given item it subtracts the number
of units sold from the inventory. is this a big task.

Nov 12 '05 #2
Hi,

I have a demo application for parts stock management and inventory control
(although not finished) written in Visual FoxPro 8.
You can download it from http://amssoft.dyndns.org:8090/Chris/

However, it can be developed in Access too.

If you are interested to get more info about this, you can e-mail me.

Regards,
Bogdan Zamfir
_______________ _____________
Independent Consultant

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com...
i've got a basic order entry d-base w/ a form for adding products, etc.

can anyone help me w/ inventory control?

i want to be able to not only enter a new product but also enter the number of units. then once a sale is made on a given item it subtracts the number
of units sold from the inventory. is this a big task.

help

thank you,

//frank

Nov 12 '05 #3
the DSum option looks like what i might get away with.

in my orders form i have a subform for product selection and quantity to be
purchased. how do i format DSum to subtract the quantity sold from the
UnitsInStock?

i'm going to setup my tblProducts, tblAcq, tblAcqDetails as described in
your helpful link.

thank you,
//frank

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
Yes, this is a big question.
There is no one-size-fits all solution, but to set you off on a useful path, see:
Inventory Control - Quantity On Hand
at:
http://members.iinet.net.au/~allenbr...Inventory.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com...
i've got a basic order entry d-base w/ a form for adding products, etc.

can anyone help me w/ inventory control?

i want to be able to not only enter a new product but also enter the

number
of units. then once a sale is made on a given item it subtracts the number of units sold from the inventory. is this a big task.


Nov 12 '05 #4
The actual DSum() expression will depend on your table structure.
The Control Source of the text box will look something like this:
=DSum("Quantity ", "SomeTable" , "ProductID = " & Nz([ProductID], 0))

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:Vc******** *************@n ews01.bloor.is. net.cable.roger s.com...
the DSum option looks like what i might get away with.

in my orders form i have a subform for product selection and quantity to be purchased. how do i format DSum to subtract the quantity sold from the
UnitsInStock?

i'm going to setup my tblProducts, tblAcq, tblAcqDetails as described in
your helpful link.

thank you,
//frank

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
Yes, this is a big question.
There is no one-size-fits all solution, but to set you off on a useful

path,
see:
Inventory Control - Quantity On Hand
at:
http://members.iinet.net.au/~allenbr...Inventory.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com...
i've got a basic order entry d-base w/ a form for adding products, etc.
can anyone help me w/ inventory control?

i want to be able to not only enter a new product but also enter the

number
of units. then once a sale is made on a given item it subtracts the number of units sold from the inventory. is this a big task.



Nov 12 '05 #5
let's say the table structure is identicle to the one in your link.

thank you for your generous help.

//frank

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
The actual DSum() expression will depend on your table structure.
The Control Source of the text box will look something like this:
=DSum("Quantity ", "SomeTable" , "ProductID = " & Nz([ProductID], 0))

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:Vc******** *************@n ews01.bloor.is. net.cable.roger s.com...
the DSum option looks like what i might get away with.

in my orders form i have a subform for product selection and quantity to

be
purchased. how do i format DSum to subtract the quantity sold from the
UnitsInStock?

i'm going to setup my tblProducts, tblAcq, tblAcqDetails as described in
your helpful link.

thank you,
//frank

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
Yes, this is a big question.
There is no one-size-fits all solution, but to set you off on a useful

path,
see:
Inventory Control - Quantity On Hand
at:
http://members.iinet.net.au/~allenbr...Inventory.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com...
> i've got a basic order entry d-base w/ a form for adding products, etc. >
> can anyone help me w/ inventory control?
>
> i want to be able to not only enter a new product but also enter the
number
> of units. then once a sale is made on a given item it subtracts the

number
> of units sold from the inventory. is this a big task.



Nov 12 '05 #6
Then use the function supplied on the web page.
DSum() would be too slow, complicated and cumbersome for that stucture.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:rt******** **************@ news04.bloor.is .net.cable.roge rs.com...
let's say the table structure is identicle to the one in your link.

thank you for your generous help.

//frank

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
The actual DSum() expression will depend on your table structure.
The Control Source of the text box will look something like this:
=DSum("Quantity ", "SomeTable" , "ProductID = " & Nz([ProductID], 0))

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:Vc******** *************@n ews01.bloor.is. net.cable.roger s.com...
the DSum option looks like what i might get away with.

in my orders form i have a subform for product selection and quantity to
be
purchased. how do i format DSum to subtract the quantity sold from the
UnitsInStock?

i'm going to setup my tblProducts, tblAcq, tblAcqDetails as described

in your helpful link.

thank you,
//frank

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
> Yes, this is a big question.
> There is no one-size-fits all solution, but to set you off on a useful path,
> see:
> Inventory Control - Quantity On Hand
> at:
> http://members.iinet.net.au/~allenbr...Inventory.html
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "Frank Ruffolo" <fr******@roger s.com> wrote in message
> news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com...
> > i've got a basic order entry d-base w/ a form for adding products,

etc.
> >
> > can anyone help me w/ inventory control?
> >
> > i want to be able to not only enter a new product but also enter the > number
> > of units. then once a sale is made on a given item it subtracts the number
> > of units sold from the inventory. is this a big task.
>
>



Nov 12 '05 #7
where is the code inserted?

i don't know quite how to set up the form to use this code.

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
Then use the function supplied on the web page.
DSum() would be too slow, complicated and cumbersome for that stucture.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:rt******** **************@ news04.bloor.is .net.cable.roge rs.com...
let's say the table structure is identicle to the one in your link.

thank you for your generous help.

//frank

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
The actual DSum() expression will depend on your table structure.
The Control Source of the text box will look something like this:
=DSum("Quantity ", "SomeTable" , "ProductID = " & Nz([ProductID], 0))

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:Vc******** *************@n ews01.bloor.is. net.cable.roger s.com...
> the DSum option looks like what i might get away with.
>
> in my orders form i have a subform for product selection and quantity
to
be
> purchased. how do i format DSum to subtract the quantity sold from
the > UnitsInStock?
>
> i'm going to setup my tblProducts, tblAcq, tblAcqDetails as described
in > your helpful link.
>
> thank you,
> //frank
>
>
>
> "Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
> news:3f******** **************@ freenews.iinet. net.au...
> > Yes, this is a big question.
> > There is no one-size-fits all solution, but to set you off on a useful > path,
> > see:
> > Inventory Control - Quantity On Hand
> > at:
> > http://members.iinet.net.au/~allenbr...Inventory.html
> >
> > --
> > Allen Browne - Microsoft MVP. Perth, Western Australia.
> > Tips for Access users - http://allenbrowne.com/tips.html
> > Reply to group, rather than allenbrowne at mvps dot org.
> >
> > "Frank Ruffolo" <fr******@roger s.com> wrote in message
> >
news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com... > > > i've got a basic order entry d-base w/ a form for adding products, etc.
> > >
> > > can anyone help me w/ inventory control?
> > >
> > > i want to be able to not only enter a new product but also enter

the > > number
> > > of units. then once a sale is made on a given item it subtracts the > number
> > > of units sold from the inventory. is this a big task.
> >
> >
>
>



Nov 12 '05 #8
Okay.

1. Choose the Module tab of the Database Window.

2. Click New. Access opens a code window.

3. Beneath the "Option" statement(s), paste in the function (everything from
"Function OnHand( ..." to "End Function").

4. If you are using Access 2000 or 2002, choose References from the Tools
menu and check the box beside:
Microsoft DAO 3.6 Library

5. Choose Compile from the Debug menu, to ensure Access has understood
everything.

6. Save the module with a name such as Module1.

You can now use this function like any of the built-in ones.
For example, if you have a form that contains a ProductID text box, you
could add another text box and set its Control Source to:
=OnHand([ProductID])

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:u9******** *************@n ews04.bloor.is. net.cable.roger s.com...
where is the code inserted?

i don't know quite how to set up the form to use this code.

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
Then use the function supplied on the web page.
DSum() would be too slow, complicated and cumbersome for that stucture.

"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:rt******** **************@ news04.bloor.is .net.cable.roge rs.com...
let's say the table structure is identicle to the one in your link.

thank you for your generous help.

//frank

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
> The actual DSum() expression will depend on your table structure.
> The Control Source of the text box will look something like this:
> =DSum("Quantity ", "SomeTable" , "ProductID = " & Nz([ProductID], 0))
>
> "Frank Ruffolo" <fr******@roger s.com> wrote in message
> news:Vc******** *************@n ews01.bloor.is. net.cable.roger s.com...
> > the DSum option looks like what i might get away with.
> >
> > in my orders form i have a subform for product selection and quantity
to
> be
> > purchased. how do i format DSum to subtract the quantity sold from the > > UnitsInStock?
> >
> > i'm going to setup my tblProducts, tblAcq, tblAcqDetails as described
in
> > your helpful link.
> >
> > thank you,
> > //frank
> >
> >
> >
> > "Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
> > news:3f******** **************@ freenews.iinet. net.au...
> > > Yes, this is a big question.
> > > There is no one-size-fits all solution, but to set you off on a

useful
> > path,
> > > see:
> > > Inventory Control - Quantity On Hand
> > > at:
> > > http://members.iinet.net.au/~allenbr...Inventory.html
> > >
> > > "Frank Ruffolo" <fr******@roger s.com> wrote in message
> > >

news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com... > > > > i've got a basic order entry d-base w/ a form for adding products, > etc.
> > > >
> > > > can anyone help me w/ inventory control?
> > > >
> > > > i want to be able to not only enter a new product but also

enter the
> > > number
> > > > of units. then once a sale is made on a given item it
subtracts the
> > number
> > > > of units sold from the inventory. is this a big task.

Nov 12 '05 #9
how generous of you to take the time to spell everything out.

you have laid out a great foundation on which i will learn and build - i
appreciate it.

//frank


"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
Okay.

1. Choose the Module tab of the Database Window.

2. Click New. Access opens a code window.

3. Beneath the "Option" statement(s), paste in the function (everything from "Function OnHand( ..." to "End Function").

4. If you are using Access 2000 or 2002, choose References from the Tools
menu and check the box beside:
Microsoft DAO 3.6 Library

5. Choose Compile from the Debug menu, to ensure Access has understood
everything.

6. Save the module with a name such as Module1.

You can now use this function like any of the built-in ones.
For example, if you have a form that contains a ProductID text box, you
could add another text box and set its Control Source to:
=OnHand([ProductID])

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:u9******** *************@n ews04.bloor.is. net.cable.roger s.com...
where is the code inserted?

i don't know quite how to set up the form to use this code.

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:3f******** **************@ freenews.iinet. net.au...
Then use the function supplied on the web page.
DSum() would be too slow, complicated and cumbersome for that stucture.
"Frank Ruffolo" <fr******@roger s.com> wrote in message
news:rt******** **************@ news04.bloor.is .net.cable.roge rs.com...
> let's say the table structure is identicle to the one in your link.
>
> thank you for your generous help.
>
> //frank
>
> "Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
> news:3f******** **************@ freenews.iinet. net.au...
> > The actual DSum() expression will depend on your table structure.
> > The Control Source of the text box will look something like this:
> > =DSum("Quantity ", "SomeTable" , "ProductID = " & Nz([ProductID], 0)) > >
> > "Frank Ruffolo" <fr******@roger s.com> wrote in message
> > news:Vc******** *************@n ews01.bloor.is. net.cable.roger s.com... > > > the DSum option looks like what i might get away with.
> > >
> > > in my orders form i have a subform for product selection and

quantity
to
> > be
> > > purchased. how do i format DSum to subtract the quantity sold from
the
> > > UnitsInStock?
> > >
> > > i'm going to setup my tblProducts, tblAcq, tblAcqDetails as

described
in
> > > your helpful link.
> > >
> > > thank you,
> > > //frank
> > >
> > >
> > >
> > > "Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
> > > news:3f******** **************@ freenews.iinet. net.au...
> > > > Yes, this is a big question.
> > > > There is no one-size-fits all solution, but to set you off on
a useful
> > > path,
> > > > see:
> > > > Inventory Control - Quantity On Hand
> > > > at:
> > > > http://members.iinet.net.au/~allenbr...Inventory.html
> > > >
> > > > "Frank Ruffolo" <fr******@roger s.com> wrote in message
> > > >

news:FL******** *************@n ews04.bloor.is. net.cable.roger s.com...
> > > > > i've got a basic order entry d-base w/ a form for adding

products,
> > etc.
> > > > >
> > > > > can anyone help me w/ inventory control?
> > > > >
> > > > > i want to be able to not only enter a new product but also

enter the
> > > > number
> > > > > of units. then once a sale is made on a given item it subtracts the
> > > number
> > > > > of units sold from the inventory. is this a big task.


Nov 12 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3415
by: gregork | last post by:
I have painstakingly created an excel 2000 workbook for the very complex recipes I have to formulate. I have 2 sheets- 1 for configuring the recipe and 1 that is like an inventory of all the raw materials and their specifications. I have many lookup formulas on sheet1 that lookup the specs on the inventory. The problem is sheet 1 works...
2
2155
by: Stella Pieters via AccessMonster.com | last post by:
Let me start by saying that I'm a newbie in VBA. I've created an application in access where the user enters the quantity of the items sold in a form. I would like to have these records created in a table, mentioning the qty sold, the transaction date etc. this table I'm planning to use afterward to calculate the quantity on hand. I have...
13
3963
by: royaltiger | last post by:
I am trying to copy the inventory database in Building Access Applications by John L Viescas but when i try to run the database i get an error in the orders form when i click on the allocate button "Unexpected Error":3251 operation is not supported for this type of object.The demo cd has two databases, one is called inventory and the other...
109
25709
by: zaidalin79 | last post by:
I have a java class that goes for another week or so, and I am going to fail if I can't figure out this simple program. I can't get anything to compile to at least get a few points... Here are the assignments... 4. CheckPoint: Inventory Program Part 1 • Resource: Java: How to Program • Due Date: Day 5 forum • Choose a product that lends...
0
7097
by: south622 | last post by:
I'm taking a beginning Java course and I'm stuck in week eight of a nine week course. If anyone could help me I would greatly appreciate it. This assignment was due yesterday and each day I go past the due date 10% of the grade is taken off. I think I'm coming down with the flu and my brain is just not processing this assignment. Here is the...
9
7597
by: xxplod | last post by:
I am suppose to modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product. In...
3
6975
by: cblank | last post by:
I need some help if someone could help me. I know everyone is asking for help in java. But for some reason I'm the same as everyone else when it comes to programming in java. I have an inventory program that I have built so far with no problem. But I cannot figure out how to turn it into a GUI application. This is what I'm trying to get it to do....
2
2507
by: pinkf24 | last post by:
I cannot figure out how to add the following: Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an...
1
2653
by: jcato77 | last post by:
I need help with a class project I'm working on, Below is my assignment and the code I have currently created. Assignment: Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product you chose (for the DVDs subclass, you could use movie title, for example). In the subclass,...
3
4464
by: 100grand | last post by:
Modify the Inventory Program to use a GUI. The GUI should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product. In addition, the GUI should display the value of the entire inventory, the additional...
0
7410
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7668
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7923
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7773
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5984
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1025
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.