R
rastolk
Hi there
think my statements are too complex.
I created a Tblboatmen with 3 fields ID Length and Tarriff
however first record starts with 50mtr and the last record ends 400mtr
The problem is the records don't jump upwards with the same amount
meters
a third party created this tarriff which i have to use.
ID Length Tarriff
1 50 mtr $100
2 75 mtr $120
3 80 mtr $150
4 90 mtr $170
5 95 mtr $175
aso
aso
for example 87 mtr
I use in a report following unbound label named [shiplength]
=IIf([LOA]=<50;"50";IIF([LOA]=>51and [loa]=<75;"75";IIF([LOA]=>80
and[LOA]=<90;"90";aso
aso aso aso if there are too many IIf Access warns "this
is to complex"
The result = 90
To pick the right record in the TabelBoatmen a new unbound label with
=Dlookup("Tarriff";"TblBoatmen";"[length]="&[shiplength]) is created
which gives $ 170
Think above is very complex
Who can clear this for me?
Thanks in advance
Ron
think my statements are too complex.
I created a Tblboatmen with 3 fields ID Length and Tarriff
however first record starts with 50mtr and the last record ends 400mtr
The problem is the records don't jump upwards with the same amount
meters
a third party created this tarriff which i have to use.
ID Length Tarriff
1 50 mtr $100
2 75 mtr $120
3 80 mtr $150
4 90 mtr $170
5 95 mtr $175
aso
aso
length of that shipFrom a tabel [Ship] the field LOA(LengthOverAll) is filled with the
for example 87 mtr
I use in a report following unbound label named [shiplength]
=IIf([LOA]=<50;"50";IIF([LOA]=>51and [loa]=<75;"75";IIF([LOA]=>80
and[LOA]=<90;"90";aso
aso aso aso if there are too many IIf Access warns "this
is to complex"
The result = 90
To pick the right record in the TabelBoatmen a new unbound label with
=Dlookup("Tarriff";"TblBoatmen";"[length]="&[shiplength]) is created
which gives $ 170
Think above is very complex
Who can clear this for me?
Thanks in advance
Ron