Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to release a form after running it immediately
Message
De
09/07/2004 23:41:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to release a form after running it immediately
Divers
Thread ID:
00922899
Message ID:
00922899
Vues:
45
sele reserve
locate for callno=contentcallno
if found()
	messagebox("This book is already reserved by " + alltrim(reservee) + ". Reservation expires on " + dtoc(edate) + ".",64,"Program Message")
	thisform.txtreservee.enabled=.f.
	<b>thisform.release</b>
else
	thisform.txtreservee.setfocus
endif
i have the code above in the form.init(). i want to release the form when found()=.t. so i put thisform.release. but it's not releasing the form.


how can i do that? contentcallno is a variable whose value is set on the form.init().

i have no way of knowing the value of contentcallno before the running the form.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform