Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form does not release
Message
From
13/01/2003 08:11:14
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00740845
Message ID:
00740937
Views:
22
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
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform