Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PADR problem
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01289966
Message ID:
01289989
Views:
8
Peter - if you check Len(BlockDetails) - is it 50? I bet it is and you are using a proportional font for display. Try displaying in Courier New.

>>Hi all, when I run the query shown below I get a strange result set ( I expect the rows to be all 50 chars long )
>>
>>
>>Select PADR(allt(Mytable.blkd_desc),50,'*');
>>As BlockDetails;
>>From Multiblk;
>>Inner Join Blockpay;
>>On Multiblk.block = BlockPay.block
>>
>>
>>The results I get are similar to the ones shown below
>>
>>
>>My first record***********************************
>>Second***************************************
>>Third********************************************
>>And so on*********************************
>>
>>
>>anyone know what gives here ?
>>
>>what I want is
>>
>>My first record***********************************
>>Second********************************************
>>Third*********************************************
>>And so on*****************************************
>>
>
>I would guess it's a display problem, not the actual result problem.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform