Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp6 Report from listbox
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00402132
Message ID:
00409782
Views:
25
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))  && or whatever
>WITH thisform.lstListBox1
>   FOR nCount = 1 TO .ListCount
>      IF .Selected(nCount)
>         INSERT INTO MyCursorFromListBoxValuesSelected VALUE (.List(nCount))
>      ENDIF
>   ENDFOR
>ENDWITH
Previous
Reply
Map
View

Click here to load this message in the networking platform