[web2py] From prototype to a real application. Need professional programming help

2015-04-02 Thread Richard van der Zee
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

[web2py] Re: helper function - query returns no rows

2014-01-12 Thread zee
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

[web2py] Re: helper function - query returns no rows

2014-01-12 Thread zee
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,

[web2py] Re: helper function - query returns no rows

2014-01-12 Thread zee
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.

[web2py] Re: helper function - query returns no rows

2014-01-12 Thread zee
.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

[web2py] helper function - query returns no rows

2014-01-11 Thread zee
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) &