Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting Record in a View
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00139181
Message ID:
00139347
Vues:
29
Hi Paul,

Just to add to everybody's response, your code would have worked if you were not using buffering and assuming that you have SET DELETE ON. A GO RECNO() as Ed suggested, is the standard way. The Tastrade samples uses it though its not documented in the help or the sample.< g >

>Hello,
>
>I am working with a parameterized view for the first time..I'm realizing I should have used them sooner! Anyway I have a grid that is based on a view. I have a button where I can delete a record in the view. However the grid doesn't show that the record is deleted(by making it disappear) until I click on the grid. I have tried ...grdxyz.refresh(), but this didn't work...I also tried to requery the view and of course realized then the deleted record was brought back.
>
>It must be something simple..I'm sorry I can't determine what it is.
>
>Thanks,
>
>Paul
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform