Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get the deleted record to go away in the grid.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Can't get the deleted record to go away in the grid.
Divers
Thread ID:
00002696
Message ID:
00002696
Vues:
95
OK, after learning about the private datasession's set commands, I put the command SET DELETED ON in the init of the form I am using. Now when I look up a student the grid DOES NOT show the deleted record anymore, shew! It works! But, when deleting a record from the grid, that instance it doesn't disapear. You have to look the student up again to find out it is gone! Here is my code in the cmdDelete click():

IF MESSAGEBOX("Are you sure you want to delete course# "+;
CS_Lines.Course_id+CHR(13)+"for this student",32+4,"Delete Confirmation")=7
RETURN
ENDIF

DELETE IN CS_LINES
ThisForm.Mba_PageFrame1.Page2.Courses_Grid1.Refresh()

I've also tried to refresh the whole form and that doesn't work, what can I do to see the record instantaneously disapear? Thanks for the help.
** ** ** ** ** ** ** ** ** ** **
Gregory Cummines
Visual FoxPro 3.0/5.0
C/C++ Applications
** ** ** ** ** ** ** ** ** ** **
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform