Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Altering a CUSOR's structure
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00062738
Message ID:
00062739
Vues:
32
So far as I'm aware you can't other than getting the name of the temporary table with DBF() then USEing the table again in another area. If you have dependent forms, grid controls, etc on that cursor though you may well end up with inconsistencies between buffered data and data actually stored.

If you know that you want a particular structure in a cursor then modify the SQL that creates it in the first place. You can create place holders for any of the standard field types in SQL.

i.e. Select *, 0.00 as NewNumber, Space(10) newindex, date() as newdate from fred into cursor jim


>Does anyone know how to alter a cursor after it is created with CREATE CURSOR?
>I have found ALTER TABLE, but no ALTER CURSOR.
> Thanks.
_________________________________________
Objective 2000 Ltd
http://www.objective2k.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform