Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT-SQL problem with SUBSTR
Message
From
03/09/2002 15:30:52
 
 
To
03/09/2002 14:56:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00696315
Message ID:
00696365
Views:
11
Hi Alan,

LEFT() function doesn't even work for me. I got a reply in other VFP users and I found out that the length of the first retrieved record determines the output length of the rest. So they suggested that I use PADR() function.

select IIF("." $ objectname, ;
PADR(SUBSTR(objectname,1,AT(".",objectname)-1),20), padr(objectname,20)) ;
from childtable

This statement is now working in my application.

Thanks a lot for your reply anyway.

Nerissa
Previous
Reply
Map
View

Click here to load this message in the networking platform