473,394 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Simple Access Inventory Management

Hi,

This is my idea,

I have designed 2 tables now.
One with the fields PartNumber and Qty.
The stock qty that is in my store now.

I will add in another table for the
Date, PartNumber, InQty, OutQty, ReferenceNo.

Example:
Date PartNumber InQty OutQty ReferenceNo:
25-09-07 11-1212 50,000 0 PO-00538
25-09-07 11-1212 0 20,000 Inv-00538

I will update the table accordingly to this.

Then with a query, when I enter the part number, I will be able to know how much stock is in the store for that part that i key in. Please take note, there are in and out qty.

Plus to have a report summary to show the partnumber and qty that is in the store at every end of the month.

Can somebody help me on this query and Report?

This database objective is to track the movment of the stocks, and records in and out qty with their date and reference.
Also to find out the qty left in the store.
Sep 25 '07 #1
8 3199
nico5038
3,080 Expert 2GB
Hmm, the general approach is to have a StockItem table with the items and the stock available at the last stockcount. (Generally the end of the bookyear)

Next you have the PurchaseOrderDetails indicating the added stockitems Qty and the Invoices indicating the shipped stockitems Qty.

To get the stock Qty you take the StockItem's stock quantity, add the PO's and subtract the Invoiced (delivered) StockItems.
For this you can create a UNION query like:
Expand|Select|Wrap|Line Numbers
  1. select ItemID, StockQty from tblStockItems
  2. UNION
  3. select ItemID, PurchaseQty from tblPurchaseOrders
  4. UNION
  5. select ItemID, DeliveredQty * -1 from tblInvoices;
  6.  
Finally a groupby query summing the Qty field will give the accurate stock on hand.

Getting the idea ?

Nic;o)
Oct 5 '07 #2
Hi Nic,

Thank you very much for your help.
Currently i am entering all the parts and data into it for evaluation.

May i ask you another question,
I create a form name: Qty IN.
The fields are part_no, qty, date.

Whenever i click the form, it will put me to the first line of the data.
What should i do so that the data will always be the last item, which will be blank for me to enter a new record?
Dec 13 '07 #3
nico5038
3,080 Expert 2GB
Hi Nic,

Thank you very much for your help.
Currently i am entering all the parts and data into it for evaluation.

May i ask you another question,
I create a form name: Qty IN.
The fields are part_no, qty, date.

Whenever i click the form, it will put me to the first line of the data.
What should i do so that the data will always be the last item, which will be blank for me to enter a new record?
Won't be possible, as Access shows the last row as newrecord by design.
A solution could be to have two subforms, one for showing the existing ones and one in "Dataentry" mode.

Nic;o)
Dec 15 '07 #4
Won't be possible, as Access shows the last row as newrecord by design.
A solution could be to have two subforms, one for showing the existing ones and one in "Dataentry" mode.

Nic;o)

Hi Programmers,
My database is up, but i will want to know to know when did i receive the parts between this date and another date. This 2 dates are not fix, and will be key in by the users. What will be the query like?
Currently my SQL doesn't work:
WHERE tbl_in.in_date Between [DD-MM-YY] And [DD-MM-YY];

Also anybody knows how much records can a table consists of?
Up to 10,000 ? 20,000 ? per table.
Feb 29 '08 #5
Hi

In regards to the number of maximum records.

Access can hold millions of records per table, however, this all depends upon the size of the data. Access limits it's capabilities through size only. Depending on your version, it holds 1 or 2 gb.

If your table is only 20,000 records you shouldn't have any problems unless you are using some very large field data types, indexes, queries and/or macros which would take up some space.

For eg. 5 million records in 7 collumns limited to 55 digits or letters per collumn comes in around 200MB.

Nat
Feb 29 '08 #6
Thank you so much Nat.
Are you also able to answer this question:

i will want to know to know when did i receive the parts between this date and another date. This 2 dates are not fix, and will be key in by the users. What will be the query like?
Currently my SQL doesn't work:
WHERE tbl_in.in_date Between [DD-MM-YY] And [DD-MM-YY];
Mar 3 '08 #7
i will want to know to know when did i receive the parts between this date and another date. This 2 dates are not fix, and will be key in by the users. What will be the query like?
Currently my SQL doesn't work:
WHERE tbl_in.in_date Between [DD-MM-YY] And [DD-MM-YY];


you could simply write a query in design view for this, select the two date fields and in the criteria range:

Min_date

<=[date_received]

Max_date

>=[date_received]


where [date_received] is your part delivery date, taken from your table storing parts deliveries, and Min_date and Max_Date are taken from your key entered dates.

you then need to select part number and delivery date, your end result will show you how many of each part were delivered on each day in single lines.

this is a very simple way of showing the parts delivered between two dates. is that what you are trying to do?
Mar 4 '08 #8
Last question before i can post this program for users.

I will like to lock all the queries with passwords, which means nobody can see the codes to prevent copyright.

What is the best way to do this?
Mar 6 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: jason | last post by:
I need some guidance and confirmation that a compex collobaration route btw my local contact management system (Act) and my online Access 2000 application which allows new and existing contacts...
2
by: Brian | last post by:
Greetings, I am trying to create a database program so that I can keep a record of the stock adjustments I do here at work. How should it work? I often have to do adjustments for 3-4 products...
2
by: Arif | last post by:
Very strange problem: Executing my query against MS Access database using OleDbProvider for Access, I am getting the value for first two columns '0' instead of '1' in DataGrid. But if I connect to...
13
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...
1
by: chris | last post by:
Has anyone got any experience using off-the-shelf Inventory Management Software? I've tried demos of both: WASP MobileInventory and iMagic Inventory. While both offering great features in...
3
by: Henrik | last post by:
Hi all, I'm a .net developer working with developing automation equipment for the sawmill industry. The main focus of our product line is mechanical and measurement equipment but our clients...
1
by: Jamad | last post by:
I want to extract some information in a text file that is not tab, comma and space separated. The format of the text file is actually unknown. The problem now is, i want to extract like three lines...
2
by: John | last post by:
Hello people, Got a slight problem with the queries section of Access. The order system I use is very similar to the Inventory Management Database. First of all I have a products table that...
9
by: rysch | last post by:
Hi, I am building a warehouse database for a small non-profit organisation that works in Africa. Currently, I have created a data entry form and table. The table is called: Inventory Transactions....
4
by: howard.canaway | last post by:
I have always wondered about the specification page in the Access Help files. It reads Microsoft Access database (.mdb) file size 2 gigabytes. However, because your database can include linked...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.