Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I can't change the fields in the grid
Message
De
08/01/2012 23:11:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows 7
Divers
Thread ID:
01532434
Message ID:
01532446
Vues:
26
>>>You need to add
>>>
>>>select * from Foo into cursor BLO READWRITE
>>
>>Nothing appears in the grid. Maybe it's because I'm in VFP 5. I guess I'll have a table, since it doesn't look like an array is supported.
>>
>>Just in case you ask, my client is using a version of SBT that's compiled in VFP5.
>
>READWRITE was introduced in VFP6 or later. You seem to be out of luck then - you can do the following
>
>select * from Foo into table Blo
>
>You can not use a cursor, as the cursor is read-only file by default, only adding READWRITE makes it writable.
>
>Alternatively, you may try:
>
>select * into cursor Blo1
>
>use (dbf('Blo1')) alias Blo in 0
>select Blo
>use in select('Blo1')
Thanks to you and Tore
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform