V
Vic
I'm a truck driver. Based on where I'm heading I get paid different rate for
empty miles and loaded miles.
I developed a database to track all my load information but I'm having a
problem with a certain calculation which I can't figure out.
I have one table that lists the Carrier or let say company information. I
have another table that is liked to the Carrier table that lists the various
mileage pay rate. All that works fine.
I have a table that tracks all my load information. In this table I have a
field called LdMilRteMt. This field is defined as a combo box which lists
all the various rates for each carrier. This part works fine as well. Also,
in this table I have two other fields that need to work with each other
called LdMtMiles. This field number of miles is entered by myself. The
other field is LdPdMt. I will explain this one further.
Now the form. I have the field LdMilRteMt as a combo. The information
displayed in this field is the mileage rate for the carrier: Here is the
info. ELECT tbl_MileageRate.MileageAutoNumb, tbl_MileageRate.MileageRate,
tbl_MileageRate.MileageType, tbl_MileageRate.MileageDesc,
tbl_Carrier.CarFullName, tbl_Carrier.CarPhone FROM tbl_Carrier INNER JOIN
tbl_MileageRate ON tbl_Carrier.CarAutoNum = tbl_MileageRate.MileageCarrier
ORDER BY tbl_MileageRate.MileageRate, tbl_Carrier.CarFullName;
I'm trying to get the mileage rate being displayed in LdMilRteMt * LdMtMiles
and the have that revenue figure appear in LdPdMt without me have to do this
myself using a calculator.
I've tried previously doing this using a text field but that doesn't store
the information and I really want to do that because of the constant changes.
Also, when I did do it that way LdMilRte would multiply the carrier Id
(let's say it's carrier 1) that the miles (let's say 138). For an example
the pay for 138 * .40 a miles is $55.20. It would give me a figure of
$138.00 instead.
I've tried a number of recommendation with that problem but could not get it
to work correctly.
Can anyone please guide me through this. I'm not very knowledgeable on the
programming side so how can I get the display on one filed to be multiplied
by the information entered in another field and automatically give me a
dollar value in a third field.
Thanks
empty miles and loaded miles.
I developed a database to track all my load information but I'm having a
problem with a certain calculation which I can't figure out.
I have one table that lists the Carrier or let say company information. I
have another table that is liked to the Carrier table that lists the various
mileage pay rate. All that works fine.
I have a table that tracks all my load information. In this table I have a
field called LdMilRteMt. This field is defined as a combo box which lists
all the various rates for each carrier. This part works fine as well. Also,
in this table I have two other fields that need to work with each other
called LdMtMiles. This field number of miles is entered by myself. The
other field is LdPdMt. I will explain this one further.
Now the form. I have the field LdMilRteMt as a combo. The information
displayed in this field is the mileage rate for the carrier: Here is the
info. ELECT tbl_MileageRate.MileageAutoNumb, tbl_MileageRate.MileageRate,
tbl_MileageRate.MileageType, tbl_MileageRate.MileageDesc,
tbl_Carrier.CarFullName, tbl_Carrier.CarPhone FROM tbl_Carrier INNER JOIN
tbl_MileageRate ON tbl_Carrier.CarAutoNum = tbl_MileageRate.MileageCarrier
ORDER BY tbl_MileageRate.MileageRate, tbl_Carrier.CarFullName;
I'm trying to get the mileage rate being displayed in LdMilRteMt * LdMtMiles
and the have that revenue figure appear in LdPdMt without me have to do this
myself using a calculator.
I've tried previously doing this using a text field but that doesn't store
the information and I really want to do that because of the constant changes.
Also, when I did do it that way LdMilRte would multiply the carrier Id
(let's say it's carrier 1) that the miles (let's say 138). For an example
the pay for 138 * .40 a miles is $55.20. It would give me a figure of
$138.00 instead.
I've tried a number of recommendation with that problem but could not get it
to work correctly.
Can anyone please guide me through this. I'm not very knowledgeable on the
programming side so how can I get the display on one filed to be multiplied
by the information entered in another field and automatically give me a
dollar value in a third field.
Thanks