Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox...
Message
 
To
01/02/2001 11:24:56
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00471296
Message ID:
00471334
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform