General information
Title:
Resetting the Registry Counter
I have the following piece of code which I hope will reset a primarykey counter in the appregistry, but when I execute it nothing happens.
Any suggestions?
oCounter = goApp.oregistry.lockcounter( '%%Bcscommon_appreg01.Counters.Primary Key Bcstypes' )
goApp.oregistry.setcounter( oCounter, 0 )
goApp.oregistry.updatecounter( oCounter )
goApp.oregistry.unlockCounter( oCounter )
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only