01-16-2008 9:55 AM
Hi
I need soem info abt module pool.
I had an application,in whcih after putting the certian info or vaules on sceen,& on save button,it generate a unique no. say a S.No,through which the data is stored in the master table,
but my user said that,if simultanously 2-3 user uses this application & press the save button at same time,than only one unique no (S.No.) is generated whcih is displayed to all & only 1 record is stored in the masted table,but at the same time (in actual),there shd be 3 S.No that to be generated & shd be unique to all.
so how to make it correct,can any one plz tell me abt this?
is this related to commit -area.
regds.
01-16-2008 10:32 AM
hi vipin,
better you can use any condition before multiple users going to use the information that means actually the intension of ur program is if one user uses the information then one S.no. is generated. if 2 users means 2 S.no.s generated.
but this is not happend in ur program.so use one condition like checking the no. of users then automatically many S.no.s will be generated.
reward me if it's ok.
01-16-2008 10:39 AM
hi
well this application is used ay 6 diff location,and by 2-4 users at each location & for 24*7.
so u feel is will it work for counting the no of users,than also i hv to chek of rthe location,it will be a comples,is there any other way,so that the save button's ok-code can be made in use to solve this prob?
01-16-2008 1:58 PM
Hi,
Use locking mechanism for the field. ie., If one user is editing the screen, the other users will get it in display mode.
Regards,
Renjith Michael.
01-17-2008 6:25 AM
Hi
No it will be a problem for the user,as this application is used at 6 diff location & with 2-3 users at each location,so i can't make it in locking mode,it willl hamper the business.
So i need some other thing,so that at each location if 2-3 users are using the application at same time,it genertae a unique no for each user.
u hv any idea abt deque,enque or commit area?
regds