Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting
Message
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Miscellaneous
Thread ID:
00720926
Message ID:
00721168
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
Ivan,

>Any advices from "someone" here who would be more used to this process ?<

Well, this one bit me hard for about a week with free tables - so perhaps it will help you.

In the current shipping version of CodeMine 7, there is a "minor" annoynance (bug) in the way CodeMine uses its PrimaryKey() function with free tables. Dave figured out the problem (was a typo), and gave me the following code (this had to do with the way CodeMine checked for the next available pk)
* Ok, I see the problem. There was a typo so it only worked in the 
* candidate index was the first one defined.

* Make the following change to common50\codemine.prg. Replace the line:
        IF PRIMARY(m.ix) OR KEY(1) == UPPER(m.cField)
* With:
        IF PRIMARY(m.ix) OR KEY(m.ix) == UPPER(m.cField)
Hope this helps.

Mel Cummings
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform