Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT with SPACE() question
Message
From
26/01/2001 15:49:40
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
26/01/2001 15:27:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00469200
Message ID:
00469217
Views:
10
Edgar,

As George pointed out, you need PADR() or PADL().

SPACE(x) makes a string x space-characters long.



>I can’t get this right.
>I want to SELECT and at the same time make the field longer.
>Let say the field is 1 char long. I want to select it into my updateable cursor and make it 6 char long
>
>SELECT charfield FROM Cursor && will give me just the one char long as it is, so I tried:
>SELECT SPACE(charfield,6) FROM Cursor && and lots of other variations and I can’t get it to work
>There has to be a way to do this!
>Suggestions?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform