Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Delete a record in a VIEW not updating tables
Message
De
03/04/1997 10:21:48
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
03/04/1997 09:51:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026765
Message ID:
00026770
Vues:
23
>My VIEW updates my table when I EDIT the records
>from the VIEW. When I try and DELETE a record from a
>VIEW, the record in the table, does not get marked.
>
>help
I think that I have had the same problem. Apparently there is something in the grid baseclass that turns the DELETEMARK off. What I did was to add

Thisform.grid.deletemark=.t.
Thisform.grid.refresh

to the GOTFOCUS method of the grid
and added

dodefault()
Thisform.grid.setfocus

to the end of the method that is deleting your record (perhaps to the CLICK method)
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform