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 > Re: Why the del...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 10 Topic 1337 of 1428
Post > Topic >>

Re: Why the delay to close()...?

by "Jim Moseley" <jmose@[EMAIL PROTECTED] > Mar 6, 2008 at 03:14 PM

Kenneth,

If your Search form has already found the row, why waste the effort of
having
your People form locate() it again?  Just attach a tcursor to your row and
resync the field, as in:

var 
   tc tcursor 
   ui UIObject
endVar

if eventInfo.vCharCode()=VK_Return then
	disableDefault
	setMouseshape(mouseWait)
	If NOT people.attach("PeopleKS") then
		People.Open("PeopleKS",winStyleDefault+winStyleHidden)
	endif
        ok = tc.attach(num)
        if ok then
           ok = ui.attach(People.num) ; or whatever your field is 
        endif
        if ok then 
           ok = ui.resync(tc)
        endif
        if not ok then
           errorShow()
        endif
endif

HTH,
Jim Moseley
 




 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
tan12V112 Tue Dec 2 22:25:29 CST 2008.