Thanks for the replies. Pbreit, you pointed the real issue -- what should I
call the arguments (addperiodform.vars.id), that are passed from the goal
function to the addingperiod function?
from the controller file:
def goal():
...some code...
addperiodform = SQLFORM(db.period, field
On Sat, 14 Apr 2012 09:44:28 +0100, k...@midnighthax.com said:
> q = ((db.period.begindatestart))
> if db(query).count():
Argh. Typos. 'q' and 'query' should refer to the same thing, so change the
second line to 'if db(q).count():' (that change needs to take place twice).
--
"You can
On Fri, 13 Apr 2012 11:38:25 -0700 (PDT), sababa.sab...@gmail.com said:
> The
> function should only add periods that doesn't overlap any of the
> already registered ones.
Let me try to help (I owe this group a lot of help). I've ignored your
code, and I don't know what schema you're using, bu
On Fri, 13 Apr 2012 11:38:25 -0700 (PDT), sababa.sab...@gmail.com said:
> But the function does not work, and I can't see what's wrong. Any idea?
You don't make it very easy for others to help. "The function does not
work" - which function doesn't work, and in what way does it not work?
What inpu
Hi,
I try to make a function that puts periods of time into a database. The
function should only add periods that doesn't overlap any of the already
registered ones.
But the function does not work, and I can't see what's wrong. Any idea?
Thanks in advance for help!
code from the controller
5 matches
Mail list logo