matratus34
Board Regular
- Joined
- Nov 21, 2013
- Messages
- 76
Hi,
I’m linking 2 tables and want to bring back results where fields in my 2 tables match.
My issue is that the fields only match for a maximum of 50 characters so if the field is greater than 50 characters the query won’t see them as a match and won't return anything.
I want to return any fields that match for the 1st 50 characters.
Below is an Example – I’ve used 5 characters in the example to make it easier to see
[TABLE="width: 293"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Table 1[/TD]
[TD][/TD]
[TD]Table 2[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Description Field[/TD]
[TD] [/TD]
[TD]Description Field[/TD]
[/TR]
[TR]
[TD]Name123[/TD]
[TD] [/TD]
[TD]Name1xxxx[/TD]
[/TR]
[TR]
[TD]Matthew[/TD]
[TD] [/TD]
[TD]Matthew[/TD]
[/TR]
[TR]
[TD]Tree1xx[/TD]
[TD] [/TD]
[TD]Treex125[/TD]
[/TR]
</tbody>[/TABLE]
On this example the descriptions in the tables match for the 1st 5 characters so I'd want to return them as if they were the same.
Can anyone help with an expression that would do this?
Hope this makes sense!
Thanks in advance as always
I’m linking 2 tables and want to bring back results where fields in my 2 tables match.
My issue is that the fields only match for a maximum of 50 characters so if the field is greater than 50 characters the query won’t see them as a match and won't return anything.
I want to return any fields that match for the 1st 50 characters.
Below is an Example – I’ve used 5 characters in the example to make it easier to see
[TABLE="width: 293"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Table 1[/TD]
[TD][/TD]
[TD]Table 2[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Description Field[/TD]
[TD] [/TD]
[TD]Description Field[/TD]
[/TR]
[TR]
[TD]Name123[/TD]
[TD] [/TD]
[TD]Name1xxxx[/TD]
[/TR]
[TR]
[TD]Matthew[/TD]
[TD] [/TD]
[TD]Matthew[/TD]
[/TR]
[TR]
[TD]Tree1xx[/TD]
[TD] [/TD]
[TD]Treex125[/TD]
[/TR]
</tbody>[/TABLE]
On this example the descriptions in the tables match for the 1st 5 characters so I'd want to return them as if they were the same.
Can anyone help with an expression that would do this?
Hope this makes sense!
Thanks in advance as always
Last edited: