PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
Reports & Queries
→
COMMENT CENTRER DES CHAINES via code svp
COMMENT CENTRER DES CHAINES via code svp
Started by XMCCAIRN, Sep., 13 2019 5:01 PM - No answer
Connect yourself…
XMCCAIRN
#1
Posted on September, 13 2019 - 5:01 PM
Bonjour à tous,
Voilà, je ne suis pas doué sous windev et je recherche une âme charitable pour m'aider à centrer les valeurs des chaînes suivantes :
CODE_BARRES2 = BONPREPA_QR_D_054.Ref_com_AZU + Caract(10) + BONPREPA_QR_D_054.Ref_AZU + Caract(13) + BONPREPA_QR_D_054.NOMTIERS + Caract(10) + ENTCDE.LIV_VILLE
Actuellement cela donne cela :
AF D29860
1748348
SUBCONTR. DE WAGENER
LENGERICH
Sauf que j'aimerai que cela apparaisse comme cela :
AF D29860
1748348
SUBCONTR. DE WAGENER
LENGERICH
J'ai essayé de "feinter" en y employant ce code, mais evidemment selon la longueur d'une des chaînes, tout peut être décalées.. :
comp1 est une chaîne fixe sur 16 = Répète( " ",16)
BONPREPA_QR_D_054.Ref_com_AZU=Droite(comp1+BONPREPA_QR_D_054.Ref_com_AZU,16)
BONPREPA_QR_D_054.Ref_AZU=Droite(comp1+BONPREPA_QR_D_054.Ref_AZU,16)
BONPREPA_QR_D_054.NOMTIERS=Droite(comp1+BONPREPA_QR_D_054.NOMTIERS,16)
ENTCDE.LIV_VILLE=Droite(comp1+ENTCDE.LIV_VILLE,16)
Ma petite question est donc comment et avec quel code puis je m'en sortir afin d'aligner mes valeurs svp ?
Un très grand merci à tous !
Xavier
Report
0
0
→ Go back to Reports & Queries
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text