I have a labor form that I key driver's labor into daily. I have several fields: dblHours, curRate, curLaborAmt. The default value for curLaborAmt should be curRate*dblHours. (not always though, sometimes labor is paid as straight cash, not paid via an hourly rate so have to be able to override the default value)
What I want to do is set the default value as
=[dblHours]*[dblRate]
Problem is, I can't seem to get the blasted thing to update the curLaborAmt properly after I key in the values in dblHours and curRate. I know that I will need it to recalculate after I key in the dblHours and curRate, but I've tried everything from docmd.recalc to docmd.refresh to docmd.requery. Any suggestions?
Regina Parker
What I want to do is set the default value as
=[dblHours]*[dblRate]
Problem is, I can't seem to get the blasted thing to update the curLaborAmt properly after I key in the values in dblHours and curRate. I know that I will need it to recalculate after I key in the dblHours and curRate, but I've tried everything from docmd.recalc to docmd.refresh to docmd.requery. Any suggestions?
Regina Parker