Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Boxes & ReQuery()
Message
From
17/04/1998 17:58:35
 
 
To
17/04/1998 17:42:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00093057
Message ID:
00093069
Views:
25
>>I'm having a problem with a list box whose rowsourcetype = fields. When I load the form, I do a nodataonload = .T. with my view, so initially the list box contains nothing. When I requery the view nothing happens in the listbox until I tab over there or set focus with the mouse. I tried doing a THISFORM.Refresh() but nothing happens. Am I missing something simple here, maybe because it's Friday and I want to go home. Any help would be appreciated.
>>
>>Mark A. Struck
>Mark,
>Not smart but try :
>
>requery("myView")
>ThisForm.list1.setfocus
>this.setfocus
>
>Cetin

Cetin,

I was doing it that way but it seemed a little kludgy. I figured there had to be a better way and Sylvain showed me a better way. Thanks anyway.

Mark A. Struck
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform