> > Thanks Anthony... nice shortcut... > > and, any way to pass also the column as parameter ? (I don't need it right > now... just wondering....) >
Sure:
def provider(table, field, id=request.args(0)):
return dict(provider=db(db[table][field] == id).select().first())
Anthony

