Hmm, the message says Foreign Key constraint...

Not decimal issue...

Richard


On Thu, Feb 13, 2014 at 4:02 PM, greenpoise <danel.sega...@gmail.com> wrote:

> For the first time I had to enter a value that was 0.25, for some reason,
> it comes back with this error <class 'sqlite3.IntegrityError'> FOREIGN
> KEY constraint failed
>
> I have the field as a float type. It works with any value except from 0.1
> to 0.99. I tried decimal (10,3) still nothing.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to