Home

Assembly of almost identical tables

%3CLINGO-SUB%20id%3D%22lingo-sub-361131%22%20slang%3D%22en-US%22%3EAssembly%20of%20almost%20identical%20tables%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-361131%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHello%20everyone%2C%20I%20am%20trying%20to%20assemble%20two%20tables%20almost%20identical%20to%20each%20other.%20For%20example%20in%20the%20column%20of%20table%201%20I%20have%20the%20following%20digits%3A%20012345678%20and%20in%20my%20table%202%2C%20this%20account%20number%20corresponds%20but%20it%20is%20written%20in%20a%20different%20form%3A%2012345678%20or%2001234567.%20It%20is%20missing%20either%20the%20first%20digit%20or%20the%20last%20%2C%20but%20the%20two%20accounts%20correspond%20to%20the%20same%20thing.%20I%20would%20like%20to%20create%20a%20new%20table%20by%20assembling%20the%20two%20tables%20which%20automatically%20knows%20that%20you%20have%20to%20remove%20either%20the%20beginning%20or%20the%20end%20to%20match%20the%20accounts%2C%20but%20I%20do%20not%20know%20how%20to%20do%20it.%20Can%20someone%20help%20me%3F%20Thank%20you%20so%20much.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-361131%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAccess%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAccess%20Web%20App%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAccess%20Web%20Database%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-544519%22%20slang%3D%22en-US%22%3ERe%3A%20Assembly%20of%20almost%20identical%20tables%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-544519%22%20slang%3D%22en-US%22%3EHow%20do%20you%20know%20that%20the%20table%202%20I'd%2001234567%20is%20really%20012345678%3F%20Might%20it%20be%20012345679%3F%3CBR%20%2F%3EIf%20digits%20were%20cutoff%20how%20can%20you%20know%20what%20the%20digit%20was%3F%3CBR%20%2F%3EIt%20is%20relatively%20easy%20to%20strip%20leading%20zeros.%3CBR%20%2F%3EIf%20the%20field%20is%20account%20number%20and%20it's%20a%20shorttext%20type%20in%20the%20query%2C%20enter%20the%20accounts%20like%20this%20val(%5Baccount%20number%5D)%3CBR%20%2F%3EThis%20gets%20rid%20of%20the%20leading%20zeroes%20and%20it%20will%20convert%2001234567%20to%201234567.%20Do%20it%20on%20both%20sides%20and%20it%20will%20join%20on%20the%20numbers%20correctly.%20If%20digits%20have%20been%20lost%2C%20that's%20a%20different%20problem.%3CBR%20%2F%3EIt%20sounds%20like%20people%20have%20possibly%20been%20converting%20them%20with%20leading%20zeros%20sometimes%20and%20sometimes%20without.%20It%20might%20be%20wise%20to%20decide%20to%20get%20rid%20of%20leading%20zeros%20or%20to%20put%20them%20on%20the%20numbers%20that%20don't%20have%20them.%20But%20if%20you%20use%20the%20Val%20function%20it%20will%20join%20your%20data%20without%20changing%20it.%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hello everyone, I am trying to assemble two tables almost identical to each other. For example in the column of table 1 I have the following digits: 012345678 and in my table 2, this account number corresponds but it is written in a different form: 12345678 or 01234567. It is missing either the first digit or the last , but the two accounts correspond to the same thing. I would like to create a new table by assembling the two tables which automatically knows that you have to remove either the beginning or the end to match the accounts, but I do not know how to do it. Can someone help me? Thank you so much.

1 Reply
How do you know that the table 2 I'd 01234567 is really 012345678? Might it be 012345679?
If digits were cutoff how can you know what the digit was?
It is relatively easy to strip leading zeros.
If the field is account number and it's a shorttext type in the query, enter the accounts like this val([account number])
This gets rid of the leading zeroes and it will convert 01234567 to 1234567. Do it on both sides and it will join on the numbers correctly. If digits have been lost, that's a different problem.
It sounds like people have possibly been converting them with leading zeros sometimes and sometimes without. It might be wise to decide to get rid of leading zeros or to put them on the numbers that don't have them. But if you use the Val function it will join your data without changing it.
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies