Retrieving informations from a lookup of a lookup

Retrieving informations from a lookup of a lookup

I have 3 forms linked by lookups: customer linked to subscription which in turn is linked to calendar. 

In the third form, calendar, I don't have access to the customer name of the first form to use in my deluge scripts.

What are the good practices for those situations ? I am sure there is something I don't undestand with IDs and lookups. 

Sylvain