This discussion is archived
3 Replies Latest reply: Feb 7, 2012 6:45 AM by Farshid Zarinara RSS

Depends on -->model-inputtextlov field  is not work correctly

Farshid Zarinara Newbie
Currently Being Moderated
JDeveloper Studio Edition Version

I have four tables below

1-Airlines ( Master ) Pk=AirlineId
2-Airlines Tickets ( Detail ) Pk=AirlineId,TicketId Fk=AirlineId

3-Passengers ( Master ) Pk=PassengerId
4-Passengers Tickets ( Detail ) Pk=PassengerId,TicketRow Fk1=PassengerId Fk2=AirlineId,TicketId

I have Model-inputtextlov on the TicketId field of Passengers Ticket and the AirlineId field is depends on TicketId field
but when the slected TicketId is same ( When i want update ) is not work correctly

for example:I've created a record and I want to update TicketId
when i want change the passengers ticket and update that, TicketId may be the same
In this case .The problem is-----> Related field ( AirlineId ) Does not change
Because the TicketId has not changed, but the entire ticket has changed. ( a ticket with same TicketId from another Airline )

Please help me


Edited by: Farshid Zarinara on Feb 7, 2012 8:30 AM


  • Correct Answers - 10 points
  • Helpful Answers - 5 points