General - EPOS/Stock Database Questions

conjoa

New member
Local time
Today, 12:38
Joined
Nov 18, 2007
Messages
7
Dear Reader

I am a realtivly new user and I do not know alot of things about Access

I have set up a database, and within this database, i have a table with my product details (the products are books, details include: ISBN, Title, Stock Level, and Price), I also have a table with customer's information (Name, Contact details, etc). I have created an order form, from which a user selects the customers name from a drop down list, and then he selects his name, and finally the date. Following this the user then works within a subform.

This subform has the following details, Order ID, Book ID, and Quantity Ordered. After this I want there to be a subtotal. I have no idea as to how to set this up, but I am assuming that I would need a query or something, to look up the price of the books, and then to multiply it by the quantity that the customer wants. Following this ideally I would like a small box on the main form saying the total value of the order.

Would their be anyway, to add the book ISBN number into the subform, where the user could either type in the ISBN number or select from a combo box the book title, but either way, both fields are updated, what ever method is used.

From this subform, I would like to be able to print out an order summary/invoice. This would contain all the books ordered by the customer in the current transaction, as well as the customer’s information, and the total of the order.

And my final question is probably the hardest one. Is their anyway (possibly by pressing a button) to automatically minimize the stock value on the products table, by the quantity chosen by the user in the order form? And if the quantity wanted is greater than the amount in stock, for a message to appear on the Order Summary/Invoice stating "On Order"

Using the above method, would it then be possible through the creation of a query to show what customers have ordered in the past, in a tab on the customer's details form.

I have attached a copy of the relationships, as well as various images, the order form, customers’ details and product details forms.

Thanking you in advanced
CJM

*If more images are needed feel free to ask

Order Form
http://img32.picoodle.com/img/img32/5/11/30/f_Untitled1m_9a2e33a.jpg

Product Form
http://img34.picoodle.com/img/img34/5/11/30/f_Untitled3m_2e1c239.jpg

Customer's Details Form
http://img01.picoodle.com/img/img01/5/11/30/f_Untitled4m_0b196eb.jpg

Relationships
http://img31.picoodle.com/img/img31/5/11/30/f_Untitled2m_cf8ac06.jpg
 
I am a programmer and not a reader. :D If you get to the point a little faster, you get more response.:D

Your database design shows that the relation employee-order is one-to-one. IMHO this should be one-to-many. Not sure why there is a second order table. In rare cases this is fine but i think this is not.

If your subform is a continuous form, you should be able to enter the ISBN number.
For the second question you need to create a report. Which you can then print.

If you could post your db or a part of it?
 

Users who are viewing this thread

Back
Top Bottom