Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Thanks for reply.
I use a table call newkey.dbf and field nextkey to record next pk and view pk is default value same to base table.
If I use append and replace command the nextkey will only +1
But if I use insert command the nextkey will +2
eg.
append blank & replace
view id = 1
base table id = 1
newkey = 2
insert
view id = 1
base table id = 2
newkey = 3
Why?
Further, If I add the record (append blank), and save it (tableupdate) and delete it immediately,
SELE view
=TABLEUPDATE()
SKIP
system will prompt me update conflict too, it need to
SELE view
DELE
SELE basetable
GO TOP
SELE view
to delete the record. ?????
TIA.
Précédent
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