Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Paradox > Why the delay t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 1337 of 1390
Post > Topic >>

Why the delay to close()...?

by Kenneth <usenet@[EMAIL PROTECTED] > Mar 6, 2008 at 12:59 PM

Howdy,

I have a form that is used for a particular search process.
It works fine, but with an odd delay.

Here's how it is used:

We enter on another form the criteria for a search of our
database. Those might be "Jones" (in the lastNameField) and
54321 (in the zipCodeField.)

Next, the form in question (called SEARCH.FDL) opens
displaying all the records that meet the criteria.

The user scrolls down to the person whose record they wish
to view, touches enter, and another form (called PEOPLE.FDL)
then searches for, and displays that individual's record.

And this is the odd behavior:

Almost without exception, when the user touches Enter, the
PEOPLE form is already open, and is visible beneath the
SEARCH form (but pointing to another record.)

Then, in about two seconds, the PEOPLE form moves to the
chosen record, but the SEARCH form remains open for another
five seconds or so.

Why might the SEARCH form take so long to close itself? (Or
might there be a way to see the PEOPLE form more quickly
while the SEARCH form takes whatever time it needs to
close?)

Here's the code on the SEARCH form that finds the proper
record:  


method keyPhysical(var eventInfo KeyEvent)
var
	People form
EndVar

if eventInfo.vCharCode()=VK_Return then
	disableDefault
	setMouseshape(mouseWait)
	If people.attach("PeopleKS") then
		People.num.Locate("num",num)
		People.moveto()
		else
		People.Open("PeopleKS",winStyleDefault+winStyleHidden)
		People.num.Locate("num",num)
		People.bringToTop()
	endif
self.close()
endIf
endMethod


Thanks for any suggestions,
-- 
Kenneth

If you email... Please remove the "SPAMLESS."
 




 10 Posts in Topic:
Why the delay to close()...?
Kenneth <usenet@[EMAIL  2008-03-06 12:59:21 
Re: Why the delay to close()...?
Dennis Santoro <RDAPre  2008-03-06 13:11:33 
Re: Why the delay to close()...?
"Tony McGuire"   2008-03-06 11:15:23 
Re: Why the delay to close()...?
Kenneth <usenet@[EMAIL  2008-03-06 13:55:53 
Re: Why the delay to close()...?
"Jim Moseley" &  2008-03-06 15:14:08 
Re: Why the delay to close()...?
Kenneth <usenet@[EMAIL  2008-03-06 16:58:07 
Re: Why the delay to close()...?
Sundial Services <info  2008-03-06 20:49:27 
Re: Why the delay to close()...?
Sundial Services <info  2008-03-06 22:31:33 
Re: Why the delay to close()...?
Kenneth <usenet@[EMAIL  2008-03-07 07:32:01 
Re: Why the delay to close()...?
Mark Bannister <markRe  2008-03-07 08:24:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Wed Jul 9 2:07:33 CDT 2008.