I am having a challenge displaying the first_name and lastname concatenated
in the grid listing its not displaying but the label is displayed correctly
but without records...but for View, Add and Edit the field is displaying
data correctly.

Controller:

def mp_info():
db.emp_portfolio.emp_id.requires = IS_IN_DB(db, db.auth_user.id,
'%(first_name)s %(last_name)s')
db.emp_portfolio.emp_id.label = "Employee Name"
grid = SQLFORM.grid(db.mp_portfolio)
return dict(grid=grid)

View:

{{=grid}}

What am i missing out?
-- 
.......................................................................................
Teddy Lubasi Nyambe
Opensource Zambia
Lusaka, ZAMBIA

Cell: +260 97 7760473
website: http://www.opensource.org.zm

~/
Human Knowledge belongs to the world! - AntiTrust

Man is a tool-using animal. Without tools he is nothing, with tools he is
all - Thomas Carlyle 1795-1881

/~

-- 

--- 
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/groups/opt_out.


Reply via email to