Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PrimaryKey() in Free Tables
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
PrimaryKey() in Free Tables
Miscellaneous
Thread ID:
00660057
Message ID:
00660057
Views:
43
I would appreciate any help with these couple of related questions.

Am I correct in assuming that the CodeMine 7 PrimaryKey() function does not work with free tables?

And, if this is so - is there another CodeMine function that I would use, or should I just create my own?

And finally, if I create my own I was thinking it should be placed in the cmDataManager.AfterNew() Event like:

FUNCTION cmruleabstract.afternew
LPARAMETER cWorkarea
IF m.cWorkarea == 'Members'
  * MyCustKey() is custom function to build next primary key.
  REPLACE NumberID WITH MyCustKey()
ENDIF
Any thoughts are appreciated.

Mel Cummings
Next
Reply
Map
View

Click here to load this message in the networking platform