Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form does not release
Message
From
14/01/2003 05:24:25
 
 
To
13/01/2003 08:11:14
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00740845
Message ID:
00741342
Views:
28
>Ernest, I think you can put your WITH...ENDWITH statement outside of your SCAN...ENDSCAN loop which may result in a faster populating loop. I'm sure that DaveF can confirm (or deny) this. Not sure of the answer to your original problem though :)
>
>
>>*--- 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

Thanks
Ernest
Previous
Reply
Map
View

Click here to load this message in the networking platform