Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form does not release
Message
De
14/01/2003 05:21:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00740845
Message ID:
00741341
Vues:
36
>Ernest
>
>I don't see anything wrong. What is the scope of loItem?
>
>Is that the only code that accesses the listview?
>
>Jos - it would speed it up only a little bit to hoist the WITH/ENDWITH out of the loop.
>
>>
>
>*--- POPULATE LISTVIEW
>>SCAN
>>    WITH ThisForm.lvCritResult.listitems
>>	loItem = .Add(, , id_acct)
>>	loItem.SubItems(1) = id_ticket
>>	loItem.SubItems(2) = IIF (EMPTY dt_request), "",dt_request)
>>	loItem.SubItems(3) = del_type	
>>	loItem.SubItems(4) = namelst
>>	loItem.SubItems(5) = namefrt
>>	loItem.SubItems(6) = street
>>	loItem.SubItems(7) = bcity
>>	loItem.SubItems(8) = truck_num
>>	loItem.SubItems(9) = stop_num
>>	loItem.SubItems(10) = sched_arv
>>	loItem.SubItems(11) = sched_dep
>>    ENDWITH
>>ENDSCAN
>
David,
The scope is local. The only other reference I have to the listview is a .clear.

Thanks for trying.
Ernest
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform