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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listbox does not refresh...

Status
Not open for further replies.

Siddiq

MIS
Sep 23, 2000
46
0
0
PK
Dear friend..

I am facing a problem, I have a form in my application which contains on 3 listbox.. the second listbox does not
refresh automatically.. but it is refreshed when I click it, I don't understand why..

I want it to refresh automatically without clicking by the
command of THISFORM.REFRESH

If anyone can help me regarding the mattter.. I will be most thankful

 
HI
Just check in the click event of that listbox. It shall be empty. Probably a space is sitting. WHat you can do is to SELECT THE LIST BOX under question, select the refresh event in the propeties window , right click on it and SET it to default. This will replace any spaces. BEFORE DOING THIS ... MAKE SURE THERE IS NO CODE OF YOUR OWN in that event.. or else the whole suggestion is wrong. :) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Thanks Ramani it is working properly

I used THISFORM.LISTBOX1.Requery()

thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top