Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About add/remove field in runtime and subtran.
Message
De
30/11/1999 12:17:57
 
 
À
30/11/1999 12:00:53
Jacky Yuen
Myth Group Computer Technology
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00296923
Message ID:
00296944
Vues:
25
>Hi ,
> I have two problems now.
>
> Firstly ,I doubt if there is any command that can add/remove field in table during runtime ?

Look at the ALTER TABLE command in help. You can add or drop fields.

>
> Then ,I try to use subtran to remove chr(13) in memo field ,but fail.
>Code is here :
> StrA = chr(13)
> StrB = Chr(13) + Chr(13)
> StrC = Subtran(StrC ,StrA ,StrB)
>
> After process the code ,nothing happened. But it work fine if I define STRA and STRB as "ABCDE" or something like that .
>
> Can you give me some advise ?

StrC = STRTRAN(StrC, StrA, StrB)
>
> Thanx a lot !
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform