Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing Grid Method
Message
De
15/03/2006 10:42:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01103672
Message ID:
01104517
Vues:
20
>>Hi Walter,
>>>
>>>The problem is that you cannot do a ALTER TABLE ADD COLUM on a cursor, so I had to think of some other solution where I could change the structure of the underlying recordsource without loosing all the columns settings and objects of those columns which were not altered (a fixed set of columns in my case)
>>
>>Apparently one excellent data manipulation feature of VFP,
>>adding fields to cursor on the fly, has gonne with wind of versions :(
>>I use extensively ;
>>alter table alias() add column ...
>>with my cursors and it worked great in VFP6sp5.
>>
>>Recently I was testing my 'goods' with VFP9 only to discover that
>>you can't do it anymore! I found at the end replacement solution that will work for me, but I still hv to go trough lot of code and do replacements if I decide to upgrade fully to VFP9.
>>
>>Someone should start shouting at M$ right away about this ;
>>It is a BUUUUG !!! :))
>
>Are you sure your cursor has fields with the names less than 10 characters? You can not alter cursor otherwise.


I NEVER created myself table field, having name longer then 10 characters.

alter table alias() works like charm for me in VFP6 :)
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform