In the version in trunk that line is 768 and not 977 and it is defined. It is an argument of the function. Your file appear longer than it should be and that is very odd. Please try download it again.
On Apr 16, 1:01 am, aabelyakov <[email protected]> wrote: > Version 1.76.5 (2010-03-20 12:12:17) > web2py source code from trunk > > File "D:\MyProg\_MyPython\Web2py\gluon\sqlhtml.py", line 799, in > __init__ > if formstyle == 'table3cols': > NameError: global name 'formstyle' is not defined > > -- > Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

