I have a field with a serial number in it. I want to use Mid to
extract the 4th and 5th characters, use them to lookup a value on a
small lookup table, and use the info from that table to fill in the
value for my lens field. I tried doing this:
=DLookUp([LensLookup]![LensName],[LensLookup],Mid([Camera Data]![Serial
Number],4,2)=[LensLookup]![LensID])
Where LensLookup is my lookup table, LensName is the value I want to
have appear
I will get the 4th and 5th characters from Serial Number and use them
to find the corrsponding numbers in the LensID on the LensLookup table.
I know that the two characters will be there. But I keep getting an
#Name? error. Is it a syntax problem or do I have my tables messed up?
extract the 4th and 5th characters, use them to lookup a value on a
small lookup table, and use the info from that table to fill in the
value for my lens field. I tried doing this:
=DLookUp([LensLookup]![LensName],[LensLookup],Mid([Camera Data]![Serial
Number],4,2)=[LensLookup]![LensID])
Where LensLookup is my lookup table, LensName is the value I want to
have appear
I will get the 4th and 5th characters from Serial Number and use them
to find the corrsponding numbers in the LensID on the LensLookup table.
I know that the two characters will be there. But I keep getting an
#Name? error. Is it a syntax problem or do I have my tables messed up?
Comment