Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT-SQL problem with SUBSTR
Message
De
03/09/2002 15:30:52
 
 
À
03/09/2002 14:56:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00696315
Message ID:
00696365
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform