Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to insert Listbox value into cursor
Message
 
 
To
05/04/2002 15:14:09
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00641597
Message ID:
00641687
Views:
14
There's container reference missing in your code
FOR nCnt = 1 TO ThisForm.Supermover1.1stright.ListCount
     insert into abc values('ThisForm.Supermover1.1stright.List(nCnt)')
ENDFOR
The supermover also has the GetSelections() method that allows to retrieve selections into array
DIMENSION laList[1]
IF ThisForm.Supermover1.GetSelections(@laList) > 0
  SELECT ABC
  APPEND FROM ARRAY laList
ENDIF
>Hi,
>
>I am using supermover to select field value. I want to insert all selected field value into a cursor.
>when I am using following command its giving error Not a numeric expression and cursor stay at For command.
>
>create cursor abc( filename c(20))
>
>FOR nCnt = 1 TO ThisForm.1stright.ListCount
>     insert into abc values('ThisForm.1stright.List(nCnt)')
>ENDFOR
>
>
>How I can insert all selected value from 1stright listbox into cursor.
>
>Please write command.
>
>Thanks in advance
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform