ahhh, thank you! do you happen to know if there is a link to a sample db or a book w/CD that has this kind of scenario already set-up? i'd like to see how someone else would setup the query and the forms
going to think out loud here about possible setup - (if you have any suggestions, please feel free!
on the drive in to work, i was trying to imagine how i might have things set up. i'm going to stick with this mileage scenario:
tblMileageType
MileageTypeId (PK
TypeDesc (car, boat, plane, semi-truck, etc.
tblMileageRate
RateID (PK
MileageTypeID (FK
Rat
EffDat
the form would have text boxes for TypeDesc, EffDate, and Rate, one list box that would show a list of type descriptions and another that would list the 'history' of the type (selected in the first list) i could have cmd buttons for adding a new type, or adding a new rate change, or modifying a rate
the query for the expenses could then compare date of activity to the effective date and select the correct rate, right? still, if you know of a sample, i'd appreciate it much
ti
rp
----- Lynn Trapp wrote: ----
Well, I think I understand a bit better now. I think what you need to do i
have a rate table that has the different commission rates and the rat
effective dates. Then use that as a lookup table to get the appropriat
commission rate to be stored in your sales table
--
Lynn Trap
MS Access MV
www.ltcomputerdesigns.co
Access Security:
www.ltcomputerdesigns.com/Security.ht
rpw said:
hi Lynn commissio
rate in your commissions table. If the commission changes it won' affec
the previously created records and, thus, the salesmen will get pai on th
correct commission rate for all sales
sorry, I guess it should have been a separate post rather than an addendu
to MadCrazyNewbie's postand it's 'effective' date. and i want the user to be able to input a ne
rate with a new effective date with those new rates showing as 'current'
but i also want to store all of the past rates and effective dates. I'
undecided if i want a listbox to show the history of changes or nois not turned in until after the change has occurred. so if th
expense/sale/quote happened in april (but was not entered into the db unti
june) it should get the april rate and if it happened on or after th
effective date in may, then it gets the newer rat