Hi,
I've got a situation where I need to be able to input data for multiple
records simultaneously. Records from the single table below:
Model:
db.define_table('t_toc_elements',
> Field('belongs', type='string',
> label=T('Belongs to work')),
> Field('name', type='string',
> label=T('Node name')),
> ...
> Field('material', type='text',
> label=T('Textual material (XML, text, etc.)')),
> Field('children', type='string',
> label=T('Children of node')),
This is queried as per usual to get hits with a matching value in a
particular field, say for toc elements that belong to the same work.
Of course, getting the results to show up in a table is quite
straightforward, i.e. using sqltable, etc.
As is getting an input page using form factory, albeit this only gives
input fields for ***one*** record.
What I need is a combination of the two: input for all matching records on
one page.
Any ideas?
--
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/groups/opt_out.