Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding REPLACE command - why I don't get the erro
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00630443
Message ID:
00631094
Vues:
24
Thanks, Sergey. Notice, that gather memvar in UDF has the same effect, as replace in UDF, but insert from memvar works in UDF.

So, what should we do with this info? :)

>Hi Nadya,
>
>Hee's a code that reproduces your problem with min of code
CLOSE DATA
>create cursor curT1 (RecNum I)
>create table OutPut (Num1 N(2), Date1 D)
>append blank in OutPut
>replace Num1 with 100,  Date1 with Repl1()
>RETURN
>function Repl1
>replace RecNum with 1 in curT1
>RETURN Date()
>
Comment out Replace command in the UDF and you'll get "Numeric Overflow" error.
>
>>>>Yes, and apparently a goodly number of the reported ones too! Since we can't
>>>>KNOW, given the present circumstances, my recommendation is don't waste the >effort.
>>>
>>>Hey, cool, since I don't work for MS anymore, I don't have to let this post go without comment.
>>>
>>>But it's not worth it, so I won't bother.
>>
>>Garrett,
>>
>>Could you please comment about the nature of the problem? Can you replicate it, because it's weird. My tests didn't work and Mike's did...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform