S
sboyd
I have two fields in a repeating table to capture landing information
for flights, 1 is From Airport and the 2nd one is To Airport. I have
a drop down list to pick the airports. I have a rule for the From
Airport that says if the landing number is not 1 to get the preceding
To Airport. You should be taking off from the airport you previously
landed at. I have the following rule :
normalize-space(preceding-sibling::Flight_Leg/@To_Airport[1]) The
rule works for the 2nd landing but instead of giving the previous To
Airport on the 3rd landing it gives me the same From Airport that was
on the second leg.
For Example
From Airport
for flights, 1 is From Airport and the 2nd one is To Airport. I have
a drop down list to pick the airports. I have a rule for the From
Airport that says if the landing number is not 1 to get the preceding
To Airport. You should be taking off from the airport you previously
landed at. I have the following rule :
normalize-space(preceding-sibling::Flight_Leg/@To_Airport[1]) The
rule works for the 2nd landing but instead of giving the previous To
Airport on the 3rd landing it gives me the same From Airport that was
on the second leg.
For Example
From Airport