Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release a form after running it immediately
Message
From
09/07/2004 23:41:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to release a form after running it immediately
Miscellaneous
Thread ID:
00922899
Message ID:
00922899
Views:
44
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.
Next
Reply
Map
View

Click here to load this message in the networking platform