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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only