Information générale
Titre:
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 )
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement