Steve,
Sorry to butt in here.... but perhaps this will help.
>Does codemine always try to populate a primary key field? That doesnt make sense.<
It calls the PrimaryKey() in the CodeMine.prg when you press the New button when you have a Primary index assigned. This is how it builds it unique key. PrimaryKey() can also be called through code.
For a test... change the Primary index to a regular index and see if it still increments it for you when you drop that field on a form and hit new.
By the way... you ever eat at Speedy's there in Lexington? Yummy.
Mel Cummings
Précédent
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