Yes this works! I've modified the code accordingly. Thanks! Anthony On Fri, Jun 8, 2018 at 11:12 AM, Rahul Dhakate <rahul.dhak...@gmail.com> wrote:
> Oh I see. I'll check this out and modify the code if required. Thanks! for > the tip. > > Thanks & Regards, > > Rahul > > On Thu, Jun 7, 2018 at 5:53 PM, Anthony <abasta...@gmail.com> wrote: > >> Note, you do not have to declare the variable as global in the model. All >> objects defined in models are added to the web2py global environment, which >> is available to every view. >> >> Anthony >> >> -- >> 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 a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/web2py/aSS6oa09Dbs/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/d/optout.