Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.mylistbox1.refresh
Message
 
To
20/02/1998 10:27:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00079959
Message ID:
00080153
Views:
41
>>>Either, or. Tell us about the rowsource and rowsourcetype. This matters.
>>
>>the rowsource is set to 2 fields in the dbf and the rowsourcetype is set to fields. I seek a record that IS there then "DO FORM DLIST". Just before the form activated, I issue a 'BROW' just to make sure it found the record. then in the activate section of the listbox :
>>seek mcateg
>>thisform.mylistbox1.requery
>>thisform.mylistbox1.refresh
>>thisform.refresh
>>but it appears set to the fisrt record in the file!
>
>Seek _after_ the requery.

Thats having no effect either,. Do I put this code in the form itself(activate section) or in the listbox's init section? Also would an inde on the file have any adverse effects?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform