Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter Out the Deleted Record
Message
 
À
22/07/1998 21:08:17
Yin Min Chen
Nec Home Electronics(M) Sdn Bhd
Sungai Petani, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00120282
Message ID:
00120284
Vues:
15
>Hi,
>I have created a simple for customer maintenance. After I delete the record, the record still appear on my screen. I found that the record has been mark deleted, but it still been extracted out from the customer table.
>
>Can anyone tell me how to filter the deleted record from displaying in the grid of my program?
>
>Thank U and have a good day.

Issue SET DELETED ON on your main program. If your form uses 2-private datasession, issue set deleted on at load event of the FORM.

After the issuance of the DELETE and your table is buffered, issue TABLEUPDATE(.T.) the Thisforem.Refresh().

DELETE
=TABLEUPDATE(1,.T.,'mytable')
Thisform.Refresh()
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform