Group:  Microsoft Access ยป microsoft.public.access.adp.sqlserver
Thread: On KeyUp problem

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

On KeyUp problem
"Sam" <focus10[ at ]zahav.net.il> 30.11.2005 15:34:51
for moveing to a client in a form i use that code:

Private Sub InputTxtBox_KeyUp(KeyCode As Integer, Shift As Integer)
Me.Recalc
InputTxtBox.OnKeyUp = ""
Me.Requery
InputTxtBox.SetFocus
SendKeys "{F2}", True
InputTxtBox.OnKeyUp = "[Event Procedure]"
End Sub

the recordsource based on an input parameter:
select * from tbl where ClientName>=?

parmeter is:
ClientName nvarchar(15)=forms!MyFrm!InputTxtBox

when i write the letters into the InputTxtBox in slow speed i get the asked
ClientName
but when i do it faster it comes near the asked ClientName but not to target
i supose it happends because the requery action is slower then the writing
speed

is there any better way to do this job?

thanks


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net