Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify a Field type by programming.
Message
From
06/05/2005 06:56:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01011525
Message ID:
01011541
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
Yes, but you must make the cursor read/write by adding the READWRITE keyword to your select statement.
SELECT 'P1' AS 'cPauseNo' , NomPauseMois.* FROM NomPauseMois WHERE ;
'/1' $ NomPauseMois.iemplId && NomP1.COUNT > 0;
UNION;
SELECT 'P2' AS 'cPauseNo' , NomPauseMois.* FROM NomPauseMois WHERE;
'/2' $ NomPauseMois.iemplId INTO CURSOR TotPauseLettre readwrite
>Thank,
>
>it 's not possible with a cursor ?
>
> SELECT 'P1' AS 'cPauseNo' , NomPauseMois.* FROM NomPauseMois WHERE ;
> '/1' $ NomPauseMois.iemplId && NomP1.COUNT > 0;
> UNION;
> SELECT 'P2' AS 'cPauseNo' , NomPauseMois.* FROM NomPauseMois WHERE;
> '/2' $ NomPauseMois.iemplId INTO CURSOR TotPauseLettre
>
> *-- UT 05/2005 Le tour est joué , on transforme '1458/1' ou '1458/2' en 1458 ( entier )
> ALTER TABLE TotPauseLettre ALTER iemplId I
>
>
>
>>>>use
>>>>alter table tablename alter column fieldname i
>>>
>>>
>>>Thank Deepak,
>>>Thank jos,
>>>
>>>
>>>ALTER TABLE Temp ALTER [COLUMN] myfield I
>>>
>>>Give a syntaxe error....?
>>
>>Use
>>
>>
>>ALTER TABLE YourTableName ALTER myfield I
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform