M
mbr96 via AccessMonster.com
I have a combo box on a form which will be used to select an equipment
category code. That code will determine an equipment useful life (years), a
lease term (years) and lease rate factor (decimal) by pulling those values
from related tables. The recordsource of the form is a query that contains
all the tables.
After a user picks the category code, I want the three related values to
automatically populate. I used a Me.Refresh on the AfterUpdate property of
the category code control, nothing happens. I tried Me.Requery, and that
populates the data but puts the form back on the first record, not on the
record that I just entered the category code.
How can I make the three related fields autopopulate but stay on the same
record on the form? Maybe some code on an event for the form instead of the
category code control??
Thanks in advance - this site is very helpful!!
MBR
category code. That code will determine an equipment useful life (years), a
lease term (years) and lease rate factor (decimal) by pulling those values
from related tables. The recordsource of the form is a query that contains
all the tables.
After a user picks the category code, I want the three related values to
automatically populate. I used a Me.Refresh on the AfterUpdate property of
the category code control, nothing happens. I tried Me.Requery, and that
populates the data but puts the form back on the first record, not on the
record that I just entered the category code.
How can I make the three related fields autopopulate but stay on the same
record on the form? Maybe some code on an event for the form instead of the
category code control??
Thanks in advance - this site is very helpful!!
MBR