Hello Ed,
I realize it's been quite a while since you answered my question regarding the listbox control but, I just wanted to let you know that your assitance was just what I needed to get a grasp on the thing.
It now works just great, I appreciate your help and, I'm sorry for the delay in getting back.
Thanks again,
Jim Harvey
jharvey@netrax.net
>>
>>I'm trying to run a report using the items added to a listbox but can't seem to get a handle on how to create a cursor from the listbox items.
>>
>>Any help would be appreciated, are there any examples out there on how this may be accomplished.
>>
>
>
CREATE CURSOR MyCursorFromListBoxValuesSelected (ListItem C(25))
>WITH thisform.lstListBox1
> FOR nCount = 1 TO .ListCount
> IF .Selected(nCount)
> INSERT INTO MyCursorFromListBoxValuesSelected VALUE (.List(nCount))
> ENDIF
> ENDFOR
>ENDWITH