Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox...
Message
 
À
01/02/2001 11:24:56
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00471296
Message ID:
00471334
Vues:
13
>SELECT organization+" "+orgname FROM org INTO CURSOR cur2 NOCONSOLE
>or
>SELECT organization,orgname FROM org INTO CURSOR cur2 NOCONSOLE
>or
>whatever and still not be able to line up with the field width, it shows as now (using dots as space):
>
>01..Systems
>0101...Systems manager
>010102.Programmer
>010103.Designer
>02..Sales
>0201...Sales manager
>
>
>would like to show like this:
>
>01.........Systems
>0101.....Systems manager
>010102..Programmer
>010103..Designer
>02.........Sales
>0201.....Sales manager
>
>What can I do?
>
>Chuck

Say, your organisation field has 6 char length:

SELECT (PADR(organization, 6) + " " + orgname) AS orgID_orgname FROM org INTO CURSOR cur2
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform