Steven,
The Primary Key field is the field that can uniquely identify each record. Each table should have such field. It can be either integer (autoincrement) or character (GUID).
>"Are you sure you have a PK field? Is it unique? What is the field name and what index do you have in your table? Which table did you make updatable?"
>
>Naomi, Excuse my ignorance, what is a PK field? The table I make updatable is the PKG table
>
>I have incorporated your code in the afterrowcolchange of the grid as follows.
>No luck yet!
>
>
>if not tableupdate(.t.,.t.,'VUEpkg')
> local array laError[1]
> =aerror(laError)
> lcError = "Error # " + transform(laError[1]) + " " + laError[2]
> =messagebox(m.lcError)
>else
> flush in pkg
>ENDIF
>
>
>Regards,
>
>Steve
If it's not broken, fix it until it is.
My Blog