Hi All :)
I am trying to stipulate rules for the return of a pricing value in Access.
I know this should be very easy, I simply cannot seem to make my expressions work!
The two tables have the following (ignoring all irrelevant fields)
TABLE 1
Minimum Bandwidth, eg. 0 , 40.01 , 80.01
Maximum Bandwidth, eg. 40 , 80 , 138
End Price, eg. 150.26 , 327.18 , 459.87
TABLE 2
Bandwidth 26.4 , 48 , 64.1 , etc
I want to place an expression in the query stating that the end price for a record is defined by the bandwidth, ie.
Minimum Bandwith<=Bandw idth and Maximum Bandwidth>Bandw idth
then display the End Price
How do I type this in the design view so that the value of field Bandwidth in TABLE 2 is used, and the expression does not interperet it as the word bandwidth, which is not an integer!
In the criteria for field Minimum Bandwidth:
<="Bandwidth"
Thanks for any help with my most likely simple problem :)
Natalie
I am trying to stipulate rules for the return of a pricing value in Access.
I know this should be very easy, I simply cannot seem to make my expressions work!
The two tables have the following (ignoring all irrelevant fields)
TABLE 1
Minimum Bandwidth, eg. 0 , 40.01 , 80.01
Maximum Bandwidth, eg. 40 , 80 , 138
End Price, eg. 150.26 , 327.18 , 459.87
TABLE 2
Bandwidth 26.4 , 48 , 64.1 , etc
I want to place an expression in the query stating that the end price for a record is defined by the bandwidth, ie.
Minimum Bandwith<=Bandw idth and Maximum Bandwidth>Bandw idth
then display the End Price
How do I type this in the design view so that the value of field Bandwidth in TABLE 2 is used, and the expression does not interperet it as the word bandwidth, which is not an integer!
In the criteria for field Minimum Bandwidth:
<="Bandwidth"
Thanks for any help with my most likely simple problem :)
Natalie
Comment