[web2py] Default value of two references only one gets the value

2015-12-22 Thread Danel Segarra
I have these: db.define_table('supplier', Field('suppliercode',requires=IS_UPPER()), format='%(suppliercode)s') db.define_table('series', Field('seriesname'), Field('seriesdescription',requires=IS_UPPER())... db.define_table('product', Field('series', 'reference series'), Fie

[web2py] Re: What works, float type, decimal type, double or all/none of the above?

2015-07-28 Thread Danel Segarra
SQLite!! Thanks On Monday, July 27, 2015 at 5:00:55 PM UTC-7, Dave S wrote: > > > > On Monday, July 27, 2015 at 3:44:24 PM UTC-7, greenpoise wrote: >> >> So I solved this by dropping the table and creating it again. It had to >> do with the decimal points on the sizes. >> >> > > Oooo, ouch! W

[web2py] Re: What works, float type, decimal type, double or all/none of the above?

2015-07-28 Thread Danel Segarra
On Monday, July 27, 2015 at 5:00:55 PM UTC-7, Dave S wrote: > On Monday, July 27, 2015 at 3:44:24 PM UTC-7, greenpoise wrote: > So I solved this by dropping the table and creating it again. It had to do > with the decimal points on the sizes. >   > > Oooo, ouch!  Which database engine was that?

[web2py] Key error after removing onupdate=auth.archive and modifying tables

2015-06-04 Thread Danel Segarra
I need help. Everything was working fine with my application when I decided to remove onupdate=auth.archive and removed the archive table & all crumbled down. This is what I get: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. Traceback (most recent call last): File "Applicat

[web2py] Re: How to add CSS class to SQLFORM.grid??

2014-08-06 Thread Danel Segarra
I wonder if an update in web2py would affect this? thanks On Wednesday, August 6, 2014 8:57:37 AM UTC-7, Cliff Kachinske wrote: > > I would go the other way and override the attributes of the existing > classes with my own css. > > Just make sure your css loads last. > > On Tuesday, August

[web2py] Re: help with helper!

2014-05-16 Thread Danel Segarra
You are right. item is in the code. Is it reserved? going to try changing it. Thanks On Thursday, May 15, 2014 11:58:36 AM UTC-7, Dave S wrote: > > > > On Thursday, May 15, 2014 10:21:48 AM UTC-7, greenpoise wrote: >> >> Yes font-awesome is what I am trying to use. Both attempts, yours and

[web2py] Help with a helper!

2014-05-14 Thread Danel Segarra
I cant get this one: Home I have this so far: [A(I(SPAN(_class=('menu-item-parent','Home')), _class='fa-home',_title= 'Home',), False, None, []),] I am missing the URL part. Dont know where it goes! Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://