HI Everyone,

I am facing one issue regarding the database table row.id.

my db:

db.define_table('testcases',Field('Testcase_Name',requires=IS_NOT_EMPTY()),
                Field('Time_stamp','datetime',requires=IS_NOT_EMPTY()))

controller:

def testcases():
    form = SQLFORM(db.testcases).process()
    grid = SQLFORM.smartgrid(db.testcases)
    return locals()

problem is :

I have inserted 10 rows into "testcase" table and i have deleted the 5th 
row from the table, then the row ids has to display(1,2,3,4,5,6,7,8,9) but 
it was displaying as (1,2,3,4,6,7,8,9,10).

Please help me to resolve this issue.

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to