N
nybaseball22
Hello. I am trying to draft an if/then statement that will pull a
rate from a table and use it to multiply by a number from a different
table.
Table: ExpensesMain
Field: Mileage
Field: Date of Expense
Table: MileageRate
Field: EffetiveDate
Field: Rate
I am trying to add into my form (ExpensesAll) a string to an unbound
text box that will multiply the mileage by the mileage rate that was
effective on the date of the expense. There are several different
rates corresponding to their respective start dates in the MileageRate
table.
Any idea how I can make this work that will not be to difficult to
write and potentially add to other forms later? I am a novice at SQL,
so I can't get too technical.
Thanks.
rate from a table and use it to multiply by a number from a different
table.
Table: ExpensesMain
Field: Mileage
Field: Date of Expense
Table: MileageRate
Field: EffetiveDate
Field: Rate
I am trying to add into my form (ExpensesAll) a string to an unbound
text box that will multiply the mileage by the mileage rate that was
effective on the date of the expense. There are several different
rates corresponding to their respective start dates in the MileageRate
table.
Any idea how I can make this work that will not be to difficult to
write and potentially add to other forms later? I am a novice at SQL,
so I can't get too technical.
Thanks.