Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I'm doing something wrong with a date calc
Message
De
28/03/2007 19:51:36
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
28/03/2007 19:47:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01209516
Message ID:
01209524
Vues:
15
Grady,

Maybe you want to use the form's lockscreen property -
Thisform.lockscreen=.t.
*---remove all the objects
Thisform.lockscreen=.f.
(if that works you can probably get away with just doing a lockscreen=.f. at the end, though setting it to .t. at the start may make it quicker)

Incidentally, you might consider using SCAN FOR rather than SCAN...IF:
Scan for localcrime1.crimedate < m.Dday
	ShapeID = localcrime1.shapename
	Thisform.RemoveObject(m.ShapeID)
Endscan
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform