On 5/31/05 9:47 AM, "tom dot russell at transport dot alstom dot com"
<tom dot russell at transport dot alstom dot com> wrote:
> for i = 0 to listbox1.listCount - 1
> prefsDict.value("runs_"+str(i)+"_0") = listbox1.cell(i,0)
> prefsDict.value("runs_"+str(i)+"_1") = listbox1.cell(i,1)
> prefsDict.value("runs_"+str(i)+"_2") = listbox1.cell(i,2)
> prefsDict.value("runs_"+str(i)+"_3") = listbox1.cell(i,3)
> next
>
>
> Is it because the value is a variant rather than a string?
If its throwing you an OutOfBounds I would assume that your grabbing data
from a nonexistent column. Are you sure there are 4 columns?
-Seth
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|