Hi ,
I m new in web2py and im trying to understand why when I click on the add
button in the grid , it shows the t_meal_week form
How i can change this to show t_meal_week_month
here is my code
query = ((db.t_meal_week.id == db.t_meal_week_month.week_id ) &
(db.t_meal_week_month.month_id == request.vars.month_id ))
sqlform_grid=SQLFORM.grid(
query,
searchable=False,
formname='month_weeks_form',
)
return sqlform_grid
thank you
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.