Thanks for your reply Bruno but still its not working , it is behaving as it was.
Regards, Naleen Yadav GENPRO Technologies Pvt Ltd. On Fri, Nov 11, 2011 at 11:41 AM, Bruno Rocha <rochacbr...@gmail.com> wrote: > I guess you need > > db.define_table("tblDriver", > Field("DriverName",'string',label='Driver Name'), > Field('id_tblVehicle', db.tblVehicle,label='Vehicle Name')) > db.tblDriver.id_tblVehicle.requires=IS_IN_DB(db, 'tblVehicle.id', '%( > VehicleName)s') > > -- > > Bruno Rocha > [http://rochacbruno.com.br] > >