Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PROBLEM: SELECT into ARRAY not respect RTRIM()
Message
De
06/09/2003 10:09:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
PROBLEM: SELECT into ARRAY not respect RTRIM()
Divers
Thread ID:
00826732
Message ID:
00826732
Vues:
69
Hi,

With a SELECT, i cannot put trimmed string on array.
CLEAR
CREATE CURSOR myCursor (f1 c(20))
INSERT INTO myCursor VALUES ('A')

SELECT RTRIM(f1) FROM myCursor INTO ARRAY aResult
? LEN(aResult[1])
This because SELECT .. INTO ARRAY aResult is implement with a tmpCursor (?):
SELECT ... INTO CURSOR tmpCursor
COPY TO ARRAY aResult
USE IN tmpCursor
The only way is to trim array elements with a FOR Cycle ?

Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform