Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot update the cursor (Error 111)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00548813
Message ID:
00548870
Views:
12
This message has been marked as the solution to the initial question of the thread.
>That occured to me but after I had already completed the legwork for what I've accomplished so far. for an array, do I set the rowsource the same way?

In the Init of the Listbox, you can do the following:

This.AddProperty('aSource[1]')
This.RowSourceType = 5
This.RowSource = 'This.aSource'
select LMCA_NBR,&AFIELD,PR_NBR,noun from MOFFICE where &AFIELD= TRIM(MCALL) .AND. STATUS = 'OPEN' into array This.aSource

Now you can use functions like ADEL(), ASORT(), ASCAN() on this array as well as DIMENSION to make the array larger if you need to add elements.

Also, make sure you set your ColumnCount and ColumnWidths properties
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform