S
silvex
Hi!
I'm trying to make a Database for registration of my clients, and I'm
stucked in one code. (I'm a "rockie" on the Access, unfortunately not like
Hamilton in F1)
The struture is as follows:
Database has 4 Tables:
tblClient (Date;ClientName;Category;Product;Supplier;UnitPrice).
tblCategory (CategoryID;CategoryName;Description).
tblProducts (ProductID;ProductName;CategoryID;SupplierID;UnitPrice) and
tblSupplier (SupplierID;CompanyName;Phone;Fax)
The products are classified in different categories
All the suppliers furnishes all the products but with different prices
Every Client is represented by a supplier (like an insurance company).
What I want is when I open the frmClient (based on tblClient) I’ll type the
date, the client name, I will select from the cboCategory the products I
want, (I already know how to do this) then I select the product in the
cboProduct, and after this when I select in the cboSupplier the CompanyName
it automatically fills the UnitPrice field with the price that the supplier I
choose is paying for that product.
Can anybody help me please!
Regards
I'm trying to make a Database for registration of my clients, and I'm
stucked in one code. (I'm a "rockie" on the Access, unfortunately not like
Hamilton in F1)
The struture is as follows:
Database has 4 Tables:
tblClient (Date;ClientName;Category;Product;Supplier;UnitPrice).
tblCategory (CategoryID;CategoryName;Description).
tblProducts (ProductID;ProductName;CategoryID;SupplierID;UnitPrice) and
tblSupplier (SupplierID;CompanyName;Phone;Fax)
The products are classified in different categories
All the suppliers furnishes all the products but with different prices
Every Client is represented by a supplier (like an insurance company).
What I want is when I open the frmClient (based on tblClient) I’ll type the
date, the client name, I will select from the cboCategory the products I
want, (I already know how to do this) then I select the product in the
cboProduct, and after this when I select in the cboSupplier the CompanyName
it automatically fills the UnitPrice field with the price that the supplier I
choose is paying for that product.
Can anybody help me please!
Regards