Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An FPDos bug ?
Message
De
28/06/1999 02:12:03
 
 
À
28/06/1999 00:13:05
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00234624
Message ID:
00234633
Vues:
26
Hola Alejandro ---

Point One: Try to avoid using UDF's in SELECT statements.
Point Two: TRIM? Output len from the function should/must be uniform.


>
>While using FP DOS I call a UDF from a SQL SELECT. I was surprised to find out that TRIM() does not work seem to work within the function! The code is this:
>
>SELECT FormatData(cX) AS cX FROM xx INTO CURSOR Y
>
>FUNCTION FormatData
>PARAMETER tcData
>lcNewData = ...
>RETURN lcNewData
>
>
>After getting funny results I paused within the function and
>tested through the DEBUG window that TRIM("aa ")+"." is not
>"aa." Does anybody know why? Have I gone through the looking glass?
>
>TIA,
>
>Alex
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform