Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot update the cursor (Error 111)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00548813
Message ID:
00548870
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform