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:
00548963
Vues:
8
I think if you start to work more with arrays instead of cursors, you will start to appreciate the usefulness and flexibility of arrays more and more. VFP 7 will make these types of cursors more flexible because you can add a READWRITE clause at the end of the select statement instead of going through the workaround of USEing the cursor again to make it updatable.

>SCRATCH LAST QUEST. I got it to work, thanks!
>
>>>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
Répondre
Fil
Voir

Click here to load this message in the networking platform