Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resetting the Registry Counter
Message
From
21/10/2004 19:30:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Resetting the Registry Counter
Miscellaneous
Thread ID:
00953563
Message ID:
00953563
Views:
61
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
Map
View

Click here to load this message in the networking platform