Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setfocus & requery

Status
Not open for further replies.

hrg

Programmer
Jan 8, 2009
46
US
Me again I have tried the two statements (or lines of code)

me.lstComp.setfocus
me.lstComp.Requery

But it still does not work, the code is fine. I think i need to enable something extrnally. I not sure what like record source (but it is not needed as the text boxes are linked. I am just not sure.

the only problem is just that it will not focus and requery.

 
Can you elaborate on what is not working? The code looks fine but without more on what is going wrong, e.g. message displayed etc, it is difficult to comment. (Does this relate to a previous thread? If so it should really be posted there). Have fun! :eek:)

Alex Middleton
 
try to remove the setfocus statement and see if at least you can put the requery part working. Also try to set the focus after you requery the lstbox! Good Look!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top