Hello everybody!

Well... I was wondering if there is a way to automatically calculate distances between 02 nodes in a Network. Let me explain it better.

I have a drawing with roads and farms. In the farm's centroid there is a node (point) with a code (Object Data) to indetify it and they are all connected with roads.

My point is....is there a way to calculate the distance between the farms automatically?
Maybe with an SQL expression?

Thanks in avance.