Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying a cursor
Message
De
18/06/2014 01:53:54
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
18/06/2014 01:49:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01602016
Message ID:
01602025
Vues:
69
Hi Gregory.

Ooops. Yes I can do this.
I was shure to have tried and failed ages ago (VFP 5 ???). And I never use fieldnames longer then 10 chars.

Lutz

>>#4 A cursor structure can not be altered (The command is ALTER TABLE)
>
>
>Oh, yes, it can - as long as the length of the fieldname is max 10 chars - beyond 10 chars you will get an error
>
>> If you need to alter a structure, you would need SELECT .. INTO Table and later ALTER TABLE
>
>Not necessarily
>
>
>	create cursor tmp ;
>	(	Id	I, ;
>		Name c(20);
>	)
>	insert into tmp values (1, '1')
>	insert into tmp values (1, '1')
>	
>	alter table tmp ;
>		alter Name c(10) ;
>		add FirstName c(15);
>		
>
>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform