Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify a Field type by programming.
Message
De
06/05/2005 06:56:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01011525
Message ID:
01011541
Vues:
14
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
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform