Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Calculate Field from a one to many relationship class

$
0
0
Hello Everyone,

I have been trying to build a model that will take information from a Frequency table and put into my feature class. My problem is that I cannot join the two tables because the table would have a one to many relationship. I've decided the best way to place the information into the feature class would be to use Calculate Field. The problem is that I have no idea how to code with python to make this cross two different tables using Calculate Field. I have attached how my tables look so that you guys may be able to give me suggestions. The common field that these table share is "Switch Number" and "SwitchName" Sorry this may seem a little confusing, but I'm rather confused myself right now. I have attached some pictures of my attribute tables.
Attached Thumbnails
Click image for larger version

Name:	FeatureClassTable.png‎
Views:	N/A
Size:	19.5 KB
ID:	30403   Click image for larger version

Name:	FrequencyTable.png‎
Views:	N/A
Size:	10.8 KB
ID:	30404  

Viewing all articles
Browse latest Browse all 2485

Trending Articles