Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Statement truncates results
Message
De
19/12/2000 00:34:47
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00454936
Message ID:
00454937
Vues:
23
Hi Michael,

Try Padding the resultant field out to the required number of characters:

E.g.
SELECT PADR(ALLTRIM(salutation) + " " + ALLTRIM(firstname) ;
	 + " " + ALLTRIM(lastname),92) AS fullname ;
	FROM contacts
Where salutation is C(10), firstname is C(40), lastname is C(40) and catering for the 2 Spaces.

Hope this helps,
Gavin...


>I have a SQL statement which concatenates several fields and uses conditional IIF's to add formatting - but I find that VFP is truncating the results.
>
>I figure VFP takes the result of one result to calculate the width of the result table, and additional rows are just a lot longer than that.
>
>How can I get around this?
>
>TIA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform