|
-
Jul 13th, 2000, 04:53 AM
#1
Thread Starter
Lively Member
What is the cleanest, safest way to abort a form in the load event? For example, if a particular condition is not satisfied and we don't want the user to continue.
-
Jul 13th, 2000, 05:06 AM
#2
Frenzied Member
-
Jul 13th, 2000, 05:10 AM
#3
-
Jul 13th, 2000, 05:47 AM
#4
Thread Starter
Lively Member
Sam: No its not!!! (OK it is, but only in the most simplistic scenarios)
Jerry: Looks promising - I'll try it
Thanks
-
Jul 13th, 2000, 05:56 AM
#5
Frenzied Member
If it's the First thing in the Load Event it's doing pretty much the Same thing as Jerry's Code. Or is there something I'm missing?
-
Jul 13th, 2000, 06:04 AM
#6
_______
<P>
in Sam's defense...the question was how to abort..
the answer is correct...
however, prevention should outweight reaction!
"If the condition is not met the form should never be
loaded."
Conditions should be checked before load is
called. If the form has to load to check conditions then
you are not aborting you are quitting.
Have fun...just my 1 cent's worth....
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jul 13th, 2000, 06:26 AM
#7
Thread Starter
Lively Member
I refuse to be drawn into a semantic argument!!!!!
However, "If the condition is not met the form should never be loaded." This makes sense - this, I believe, is the way to go.
Thanks all!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|