Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding REPLACE command - why I don't get the erro
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00630443
Message ID:
00632146
Views:
14
Thanks, Sergey. I've submitted this as a bug.

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform