Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_VFP.DataToClip(,,3) Question
Message
De
25/03/2006 02:54:57
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
25/03/2006 02:32:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01107602
Message ID:
01107605
Vues:
17
>I use this command a lot for quick drops of table data into Excel spreadsheets and it works great, except for one thing. It always PADS CHARACTER field data with spaces to the full length of the field. I'd like to know of a way to emlinate these padded spaces before I drop the data into Excel.
>
>I tried CHRTRAN(_CLIPTEXT, ' ' , '') and it almost works. The only problem is this funtion also eliminate and spaces embedded in the text strings so obviously this is not the correct solution.
>
>Thanks,
>Robert

Try
STRTRAN(_CLIPTEXT, '  ' , '')
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform