0

I am using railway reservation project.
I am using for passenger Reservation Train_No,Boogie_no,Seat_No.
I have problem with While Selecting Same Train_No,Boogie_no,Seat_No from two Pc's.
It gives error duplicate values.
What I will do When Two user selecting same values simultaneously.
Please Suggest me Idea for this Project.
I am Using Visual Basic 6.0 for Front End and Oracle 9i for Back end.

5
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by ramulal
0

this isn't necessarily pertinent to vb, but normally what you would do is create a locked column in the database, whenever they start reserving set it to locked and not allow any other users to access when the column is set

0

you need to check for existance of the record before insert the same into database. you can use COUNT() for the purpose.

0

You need to use transaction , so that the same record does not get modified inadverently.

0

hello friend ,im in t.e .i need ur project in our presentation .i will study ur project and reply u as soon as possible. can u mail me ur project on

0

hello friend ,im in t.e .i need ur project in our presentation .i will study ur project and reply u as soon as possible. can u mail me ur project on namdevraja at gmail dot com

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.