Re: [web2py] Re: SQLFORM Next Item in Database

2013-01-11 Thread D.P. Clark
Thanks! I'll give that a shot. On Wed, Jan 9, 2013 at 6:07 PM, Derek wrote: > Well, perhaps you could have a function called 'getNextID' which would > query the database for the next higher ID value. > > > On Wednesday, January 9, 2013 11:15:21 AM UTC-7, D.P. wrote: > >> I considered that idea,

Re: [web2py] Re: SQLFORM Next Item in Database

2013-01-09 Thread Derek
Well, perhaps you could have a function called 'getNextID' which would query the database for the next higher ID value. On Wednesday, January 9, 2013 11:15:21 AM UTC-7, D.P. wrote: > > I considered that idea, but the selection from the larger database may not > always be consecutive in ID value.

Re: [web2py] Re: SQLFORM Next Item in Database

2013-01-09 Thread D.P. Clark
I considered that idea, but the selection from the larger database may not always be consecutive in ID value. In that scenario, a user may end up editing an entry that the shouldn't have been looking at in the first place. Good suggestion though. On Tue, Jan 8, 2013 at 3:57 PM, Derek wrote: >

[web2py] Re: SQLFORM Next Item in Database

2013-01-08 Thread Derek
It seems to me that you could add a 'next' button on that page, which would take request.args(0)+1 and formulate your HREF that way. On Tuesday, January 8, 2013 2:43:46 PM UTC-7, D.P. wrote: > > I'm using solidtable to pull a selection from a database and display that > selection (with the abili