I've just started a new business in the northern part of the Netherlands
(www.skarp.nl).
Someone build mij idea into a web2py application, as a proof of concept.
Now it needs to become a real, multi tenant, secure application with an
user friendly interface.
Are there professional web2py develo
Ok, your comment took a little time to sink in, but I think I got it now.
I modified the function to take in account form.vars.npc set to None.
I think it works now, Thanks !
On Saturday, January 11, 2014 10:56:56 AM UTC+1, zee wrote:
>
> Hi,
>
> First post here, so thanks in advance
Ok, I will take that into account.
In any case, I have tried calling the function with actual values that are
the DB as following :
onrp_id = get_onrp(1000, 'Lausanne', 12)
just to ensure the function works, but without success.
On Saturday, January 11, 2014 10:56:56 AM UTC+1,
I believe the function definition :
def get_onrp(npa, lns, npc=0):
does set the value of npc to 0 if the argument is not passed to the
function call.
On Saturday, January 11, 2014 10:56:56 AM UTC+1, zee wrote:
>
> Hi,
>
> First post here, so thanks in advance for any help provided.
.vars.lns) &
(db.npa.npa_complement==form.vars.npc)
).select(db.npa.id)
onrp_id=onrp_row[0].id
Thanks for your help.
On Saturday, January 11, 2014 10:56:56 AM UTC+1, zee wrote:
>
> Hi,
>
> First post here, so thanks in advance for any help provided.
>
> I have a sub
Hi,
First post here, so thanks in advance for any help provided.
I have a sub-routine in my main function of a a controller that looks like
this :
if form.vars.npc:
pass
else:
form.vars.npc = 0
onrp_row = db(
(db.npa.npa==form.vars.npa) &
6 matches
Mail list logo