Hi all,
I have a problem i hope someone can help me with
I have two tables both created by importing data from an external source, the first table is called [Ext_Master] and has a field called [TrackingCode].
The second table is called [CodeLookup] and contains a field called [CodePrefix].
I would like to pull back data from the second table [CodeLookup] where there is a partial match between the two fields [TrackingCode] and [CodePrefix].
The problem lies with the formatting of the data, the [CodePrefix] does not appear in the same location or format within [Tracking Code] for example:
[TrackingCode]
KNC-GCH-FCH-GEN-PFB
i-a82d-00001000
e-2072-00001000
[Code_Prefix]
KNC
a82d
2072
Thank you for any help
mark.
I have a problem i hope someone can help me with

I have two tables both created by importing data from an external source, the first table is called [Ext_Master] and has a field called [TrackingCode].
The second table is called [CodeLookup] and contains a field called [CodePrefix].
I would like to pull back data from the second table [CodeLookup] where there is a partial match between the two fields [TrackingCode] and [CodePrefix].
The problem lies with the formatting of the data, the [CodePrefix] does not appear in the same location or format within [Tracking Code] for example:
[TrackingCode]
KNC-GCH-FCH-GEN-PFB
i-a82d-00001000
e-2072-00001000
[Code_Prefix]
KNC
a82d
2072
Thank you for any help
mark.