Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting records into body of email
Message
 
 
À
10/04/2006 07:01:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01111860
Message ID:
01111921
Vues:
19
Cetin

Having worked with your code it works fantastically well but the format of the results is causing me a problem. If I just supply say 2 columns all the results are nicely aligned.
ArticleNo             Supplier
------------------------------
001234                Neil
001345                Simon
But if I add another column then the 3rd column is not aligning properly
ArticleNo             Supplier              Quality
-----------------------------------------------------
001234                Neil                  LT2034
001345                Simon                     L54345
001289                Tony                    B1254
Im a bit confused why adding further columns gives me a format issue when working with 2 is fine.

Here is my code even trying to trim the fields:
SELECT crsmatch
PUBLIC lcbodyquery
set textmerge to memvar m.lcBodyquery noshow
set textmerge on
\
\<<PADR(LTRIM('ArticleNo'),20,' ')>>
\\<<PADR(LTRIM('Supplier'),40,' ')>> 
\\<<PADR(LTRIM('Supplier'),40,' ')>>
\------------------------------------------------------------------------------------
scan
\<<padr(LTRIM(crsmatch.articleno),20,' ')>>
\\<<PADR(LTRIM(crsmatch.descrip1),50,' ')>>
\\<<PADR(LTRIM(crsmatch.seamslippa),40,' ')>>
ENDSCAN
Neil Lewis
IT R&D Manager
Velmore Ltd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform