G
Guest
I have a field on a main form. It contains a series of three digit codes
that each references a separate value. I have a table that has these values
along with the descriptions for each value. What I would like to do is that
when the main form is opened and a record is chosen on the mainform, the
field with the series of codes would be decoded and then perform a lookup in
a reference table to find the description and then display each record on the
subform.
To do this, I have created two functions. The first function parses this
field for the 3 values and then next 3 values and so on. A second function
is then called from the first to perform a dlookup to the reference table
with descriiptions.......
How do I create record entries within the subform by displaying the final
value from my dlookup function?
Thanks,
that each references a separate value. I have a table that has these values
along with the descriptions for each value. What I would like to do is that
when the main form is opened and a record is chosen on the mainform, the
field with the series of codes would be decoded and then perform a lookup in
a reference table to find the description and then display each record on the
subform.
To do this, I have created two functions. The first function parses this
field for the 3 values and then next 3 values and so on. A second function
is then called from the first to perform a dlookup to the reference table
with descriiptions.......
How do I create record entries within the subform by displaying the final
value from my dlookup function?
Thanks,