Trying to get the previous field to default my next record.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top