Thanks, I thought about that. But as I said I do not have administrative access to the server. I will talk to the database directly. I was just curious is someone had another way around this. it would be nice if I would map a primary key in web2py or have a primary key that was not an integer.
On Tue, Sep 1, 2009 at 2:44 PM, Yarko Tymciurak <yark...@gmail.com> wrote: > > 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<sam...@gmail.com> 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 web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---