G
Guest
I'm trying to autofill in a cost value associated with a field that is a key
in a table that contains cost values. The user has the option of entering a
value for the cost but I would like to have the default be the value
associated with the particular type description entered by the user (ie user
enters a type of 2, which is printer install services which has a cost of
$50). I want the charge field to default to $50 but allow the user to change
it to $75 without changing the lookup value associated with the type in the
lookup table. I've tried using the DLookup command but it didn't work,
included this on the afterupdate event on the field "type" to insert the
default cost value. Any suggestions? Thanks for your help.
in a table that contains cost values. The user has the option of entering a
value for the cost but I would like to have the default be the value
associated with the particular type description entered by the user (ie user
enters a type of 2, which is printer install services which has a cost of
$50). I want the charge field to default to $50 but allow the user to change
it to $75 without changing the lookup value associated with the type in the
lookup table. I've tried using the DLookup command but it didn't work,
included this on the afterupdate event on the field "type" to insert the
default cost value. Any suggestions? Thanks for your help.