vineetu1
14th January 2007, 11:05
Hi,
I have a single occurance form based on a Main table. Here, when the user tries to modify the record I am putting an application lock to lock that particular order using sections :
choice.modify.set
before.choice:
put.lock()
after.choice:
remove.lock()
Now I have a different form i.e. multioccurance form which shows multiple orders on one screen. Here again I need to put an applicaiton lock to the order which the user is trying to modify.
when i use the choice.modify.set -> before.choice & after.choice ..it does not work. I mean..
If the form is displaying orders 1, 2, 3, 4 and if I click the second record the in the actual.occ field it still stores the 1st record. Hence the 1st order gets locked during the before.choice of modify.set choice.
However during the after.choice part it correctly recognizes the 2nd record but it has not been locked.
Basically, I need to put put a lock on the record which the user clicks.
Any solution for this ?
I have a single occurance form based on a Main table. Here, when the user tries to modify the record I am putting an application lock to lock that particular order using sections :
choice.modify.set
before.choice:
put.lock()
after.choice:
remove.lock()
Now I have a different form i.e. multioccurance form which shows multiple orders on one screen. Here again I need to put an applicaiton lock to the order which the user is trying to modify.
when i use the choice.modify.set -> before.choice & after.choice ..it does not work. I mean..
If the form is displaying orders 1, 2, 3, 4 and if I click the second record the in the actual.occ field it still stores the 1st record. Hence the 1st order gets locked during the before.choice of modify.set choice.
However during the after.choice part it correctly recognizes the 2nd record but it has not been locked.
Basically, I need to put put a lock on the record which the user clicks.
Any solution for this ?