I work for a large Travel Management Company. I am creating a data handoff for a customer that has their traveler's ticket information (depart date, time, depart city, arrival city etc.) and return date/time. I have no problem doing this with round trip tickets.
One-way tickets are a problem. Sometimes a "round-trip" is comprised of two-one way tickets. The second one-way ticket departure data is actually the return trip data.
So I need to be able to take the outbound data from the 1st ticket and then move the outbound data from the 2nd ticket into the fields that are for the return data. I need to end up with 1 record per traveler.
The 2 one-way ticket records are in the same table. How can I seperate them into two tables? If I can do that, then I can combine the data from each table as needed.
Any help would be greatly appreciated.
One-way tickets are a problem. Sometimes a "round-trip" is comprised of two-one way tickets. The second one-way ticket departure data is actually the return trip data.
So I need to be able to take the outbound data from the 1st ticket and then move the outbound data from the 2nd ticket into the fields that are for the return data. I need to end up with 1 record per traveler.
The 2 one-way ticket records are in the same table. How can I seperate them into two tables? If I can do that, then I can combine the data from each table as needed.
Any help would be greatly appreciated.