number..materials.........................Unit.....Supplier1...Cost1......Supplier2...Cost2......Supplier3...Cost3
...1.......Faucet 1/2"....................pcs........a..............7...........b.............6...........c...............5
...2.......Utility Box 2" x 4".............pcs........a............77...........b.............7...........c................5
...3.......2x36w Fluorescent Light....set........a............5............b.............6...........c.................5
...4.......Ceiling Board 2' x 2'...........pcs.......a............3............b.............5...........c................5
...5.......Aluminum T runner............pcs.......a............1............b.............2...........c................3
...6.......CHB 4"...........................pcs........a............2............b............5...........c................3
...7.......Portland Cement..............bags.......a...........2............b............5...........c................3
...8.......Aircon 5TR......................set.........a...........2............b............1...........c................3
...9.......Window Type ACU 3/4hp....set........a...........1.............b............1...........c................1
sorry for this crap, its because i need 10 post in order to allow posting links. So I have no choice.
That is my table and i what i want to happen in my query is to be look like this.
number..materials.........................Unit.....Supplier Name...Cost
...1.......Faucet 1/2"......................pcs..........c...............5
...2.......Utility Box 2" x 4"...............pcs..........c................5
...3.......2x36w Fluorescent Light....set..........a....................5............c...........5
...4.......Ceiling Board 2' x 2'...........pcs.........a....................3
...5.......Aluminum T runner............pcs.........a....................1
...6.......CHB 4"...........................pcs..........a.....................2
...7.......Portland Cement..............bags.........a.....................2
...8.......Aircon 5TR......................set...........b...................1
...9.......Window Type ACU 3/4hp....set..........a..................1.............b............1...........c................1
The query will determine the lowest cost for each supplier. a,b and c are the sample supplier names and the cost is the price of material depending on the price given by the supplier. If the 2 supplier supplies material at the same lowest cost the query must output those supplier that has the same lowest cost of material.
Is that possible? Im totally newbie when it comes to ms access, I have intermediate knowledge when it comes to vb 2008.
...1.......Faucet 1/2"....................pcs........a..............7...........b.............6...........c...............5
...2.......Utility Box 2" x 4".............pcs........a............77...........b.............7...........c................5
...3.......2x36w Fluorescent Light....set........a............5............b.............6...........c.................5
...4.......Ceiling Board 2' x 2'...........pcs.......a............3............b.............5...........c................5
...5.......Aluminum T runner............pcs.......a............1............b.............2...........c................3
...6.......CHB 4"...........................pcs........a............2............b............5...........c................3
...7.......Portland Cement..............bags.......a...........2............b............5...........c................3
...8.......Aircon 5TR......................set.........a...........2............b............1...........c................3
...9.......Window Type ACU 3/4hp....set........a...........1.............b............1...........c................1
sorry for this crap, its because i need 10 post in order to allow posting links. So I have no choice.
That is my table and i what i want to happen in my query is to be look like this.
number..materials.........................Unit.....Supplier Name...Cost
...1.......Faucet 1/2"......................pcs..........c...............5
...2.......Utility Box 2" x 4"...............pcs..........c................5
...3.......2x36w Fluorescent Light....set..........a....................5............c...........5
...4.......Ceiling Board 2' x 2'...........pcs.........a....................3
...5.......Aluminum T runner............pcs.........a....................1
...6.......CHB 4"...........................pcs..........a.....................2
...7.......Portland Cement..............bags.........a.....................2
...8.......Aircon 5TR......................set...........b...................1
...9.......Window Type ACU 3/4hp....set..........a..................1.............b............1...........c................1
The query will determine the lowest cost for each supplier. a,b and c are the sample supplier names and the cost is the price of material depending on the price given by the supplier. If the 2 supplier supplies material at the same lowest cost the query must output those supplier that has the same lowest cost of material.
Is that possible? Im totally newbie when it comes to ms access, I have intermediate knowledge when it comes to vb 2008.