Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modifying a cursor
Message
From
18/06/2014 01:49:27
 
 
To
18/06/2014 01:32:40
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 5
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01602016
Message ID:
01602024
Views:
64
>#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);
		
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform