Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric Fields
Message
From
10/09/1999 11:38:45
 
 
To
10/09/1999 09:50:07
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00263339
Message ID:
00263379
Views:
22
Macer ---

A quick fix to that one: Add the field-level rule to numfield:

numfield <= 999.99

No more problem :-)


>After investigating a number of fox (5.0) database problems, we are shocked to discover that it is possible to create a table with a numeric field that has a width of say 5 and decimals of say 3 then store a value of 12345 in this fields. For example:
>
>create cursor billy ( numfield n(5,3))
>insert into billy values 12345
>
>Has anybody else looked into this? and can it be a cause of some of the indexing problems that we are currently suffering from? Is this fixed in 6.0?
>
>Thanks
>
>Macer
------------------------------------------------
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
Previous
Reply
Map
View

Click here to load this message in the networking platform