Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid DeleteMark click problem
Message
De
28/04/2005 03:59:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Grid DeleteMark click problem
Versions des environnements
Visual FoxPro:
VFP 9
Database:
MS SQL Server
Divers
Thread ID:
01009123
Message ID:
01009123
Vues:
45
The Grid.Delete event fires when the DeleteMark is clicked, and the delete method executes, but Deleted(This.Recordsource) returns .F.
* Grid delete method
Lparameters nRecNo
With This
 ? Deleted(This.RecordSource)                && .F., should be .T.
 ? GetNextModified(nRecno,This.RecordSource) && 0, so just to make sure
 ? GetNextModified(0,This.RecordSource)      && let's try again, returns 0
Endwith
So, what, if anything, am I doing wrong here?
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform