Home > Archive > FoxPro Help and Support > July 2005 > Numeric Overflow









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Numeric Overflow
Deng

2005-07-15, 3:25 am

Hi,
I'm having a 'Numeric overflow. Data lost' error for an application whose
platform has been changed from vfp5 to vfp8.

I was wondering if it's possible to use 'set enginebehavior 70' just before
the particular code executes and revert to 80 after the code has executed.
I've tried without success and would appreciate any ideas.

thanks
--
Sincerely
Paul Pedersen

2005-07-15, 11:24 am

I don't think SET ENGINEBEHAVIOR will have any effect on that. It seems more
likely to me that VFP8 is reporting an error that VFP5 ignored. Check to see
that the field you're storing data to is actually big enough to hold all the
data. Also check that you're not trying to store a divide by zero result.



"Deng" <Deng@discussions.microsoft.com> wrote in message
news:F37289B4-4D23-46E0-93CA- A4D85F948CE5@microso
ft.com...
> Hi,
> I'm having a 'Numeric overflow. Data lost' error for an application whose
> platform has been changed from vfp5 to vfp8.
>
> I was wondering if it's possible to use 'set enginebehavior 70' just
> before
> the particular code executes and revert to 80 after the code has executed.
> I've tried without success and would appreciate any ideas.
>
> thanks
> --
> Sincerely



Deng

2005-07-21, 9:24 am

thx Paul
--
Sincerely


"Paul Pedersen" wrote:

> I don't think SET ENGINEBEHAVIOR will have any effect on that. It seems more
> likely to me that VFP8 is reporting an error that VFP5 ignored. Check to see
> that the field you're storing data to is actually big enough to hold all the
> data. Also check that you're not trying to store a divide by zero result.
>
>
>
> "Deng" <Deng@discussions.microsoft.com> wrote in message
> news:F37289B4-4D23-46E0-93CA- A4D85F948CE5@microso
ft.com...
>
>
>

Lee Mitchell

2005-07-22, 11:27 am

Hi Paul:

Do you know what line of code causes this problem? I have seen numeric
overflow errors occur with some printer drivers.


I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/i...cid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003





>thx Paul

--
>Sincerely



>"Paul Pedersen" wrote:


> I don't think SET ENGINEBEHAVIOR will have any effect on that. It seems

more
> likely to me that VFP8 is reporting an error that VFP5 ignored. Check to

see
> that the field you're storing data to is actually big enough to hold all

the[color=darkred]
> data. Also check that you're not trying to store a divide by zero result.
>
>
>
> "Deng" <Deng@discussions.microsoft.com> wrote in message
> news:F37289B4-4D23-46E0-93CA- A4D85F948CE5@microso
ft.com...
whose[color=darkred]

executed.[color=darkred]


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com