问题
When joining tables with the option to keep all records, if all values in a field in one table match with all values in a field of another table, all records are included in the joined table. However, in some cases, when joining such tables, only some records are included in the joined table.
This may caused by preceding spaces or trailing spaces in the values of one or both of the join fields.
Remove the preceding and trailing spaces from the values in the relevant fields before joining the fields.
!fieldname!.rstrip()
Note: Change fieldname to the user's respective field name.
!fieldname!.lstrip()
Note: Apply these steps on both join inputs to ensure that preceding or trailing spaces are not hindering a proper join, and proceed with the join operation.
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序