I think at this time your best option is to create a view of the table
in question in a database server, and remap the primary key in that
way.

On Tue, Sep 1, 2009 at 10:40 AM, Don<[email protected]> wrote:
>
> I need to access a database that was not created by me.  I have read-
> only access so, when I define the layout, web2py cannot create an "id"
> field.  is there some way for me to access this database, perhaps
> somehow alias their primary key to id?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to