[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ganymede Help] Access the field.........

Date Tue, 7 May 2002 15:34:41 -0400 (EDT)
From "" <gauravb2@excite.com>

Jon,
My basic object here is to increment the serial number of a domain if a record in that domain is changed. Now what i was doing previously( which obviously didnt work) was i was trying to change the serial number in a domain when ever a transaction was committed in a record that exists in that domain ...but then i cant change a field in server during the commit phase, hence now i wrote a builder task file in which it checks on transaction commit whether a particualr base has changed. If a base has changed it traverse through all the objects in that base and checks to see what is the object that has been modified....depending upon the object thats has been modified it should increment the serial number of the domain in which it exists. Now here when ever i try to modify a field i get the same error.....that i dont have permission to change the f! ield. Is this because of the same reason that i cannot change any field while in commit phase, As far as oldLastRunTIme is concerned i got the value when i changed the option from "run periodically " to "run on transaction commit"(now if i cant change the field in an object because of the reson that this option is being checked and if i uncheck this option and check the run periodically option then i wont get the value of OldLastRunTime.....) .......Now i am confused as to how do i increment the value of the serial number as nothing seems to work. neither the plug in code....nor the task.
Pls let me know how to approach this........I am attaching the java code too please have a look at it.
Thanks
Gaurav


Join Excite! - http://www.excite.com
The most personalized portal on the Web!

Serial_number_task.java