Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Joe:
> I have parent form with child records in a grid. If I delete a record
> in the grid (with code in a command button), issue a successful
> tableupdate... The record disappears from the grid. However I can still
> edit the record (in the child edit form) till I move the record pointer
> of the child
This is because does not move the pointer away from the deleted record. Your child edit form displays the current record, regardless of the deletion flag.
SET DELETED ON prevents the user from navigating to deleted records (unless they can issue a GO (tnRecNo) command) and has nothing to do with preventing a form from displaying the current record.
Daniel
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