M
M G Henry
I am working on a database that will be basically a pricing tool for
salesmen to use, and the essential part of this database will be to
have the salesman input a single quantity and then that quantity will
fall within a quantity category for pricing purposes... let me
illustrate....
If a sales rep enters a quantity under 1000, the price will be a fixed
cost determined by the number of features he is specifying for the
particular item...
if the sales rep enters a quantiy betweeen 1001 and 5000, the price
will be based on the per thousand cost of the 1000 bracket...
for 5001 to 10000 it will be based on the 5000 bracket as a per m cost
for 10001 to 25000 it will be based on the 10000 bracket as a per m
cost and so on...
what I am racking my brain trying to do is some how user a set of
between.... and... statements to assign a fixed bracket number to the
quantity the sales rep enters... the field name for the qutoed qty
is quoteqty and I am thinking that the bracket would be one
field name bracket ....... but then again I may be
wrong...
Ideally I would like to have no limit to the number of brackets I
would set up, and I could set up and adjust the brackets within the
code for now, but I am just looking for the string of
between...and... statements or whatever it may be that will accomplish
what I want to do.
salesmen to use, and the essential part of this database will be to
have the salesman input a single quantity and then that quantity will
fall within a quantity category for pricing purposes... let me
illustrate....
If a sales rep enters a quantity under 1000, the price will be a fixed
cost determined by the number of features he is specifying for the
particular item...
if the sales rep enters a quantiy betweeen 1001 and 5000, the price
will be based on the per thousand cost of the 1000 bracket...
for 5001 to 10000 it will be based on the 5000 bracket as a per m cost
for 10001 to 25000 it will be based on the 10000 bracket as a per m
cost and so on...
what I am racking my brain trying to do is some how user a set of
between.... and... statements to assign a fixed bracket number to the
quantity the sales rep enters... the field name for the qutoed qty
is quoteqty and I am thinking that the bracket would be one
field name bracket ....... but then again I may be
wrong...
Ideally I would like to have no limit to the number of brackets I
would set up, and I could set up and adjust the brackets within the
code for now, but I am just looking for the string of
between...and... statements or whatever it may be that will accomplish
what I want to do.