[dabo-users] standalone BizObj with FK relation not saving into database

2011-08-10 Thread Vineet Deodhar
Hello List ! This is in continuation with my earlier mail on 'propython' mailing list. As suggested by Paul, I am posting my dabo related queries here.   Preamble to my query:- I am trying to use just the BizObj layer into my 'web2py' framework. Before putting the bizobj into actual project, I am

Re: [dabo-users] standalone BizObj with FK relation not saving into database

2011-08-10 Thread Thomas Ganss
Hi, have you verified that there is a matching record in the second bizobj ? From the code posted it is not clear whether return value/RowNumber # -1. HTH tg Vineet Deodhar schrieb: Hello List ! This is in continuation with my earlier mail on 'propython' mailing list. As suggested by

Re: [dabo-users] standalone BizObj with FK relation not saving into database

2011-08-10 Thread John Fabiani
On Wednesday, August 10, 2011 02:34:01 am Vineet Deodhar wrote: #create stat bizobj statBizObj = dabo.biz.dAutoBizobj(conn) statBizObj.DataSource = 'stat' statBizObj.KeyField = 'statid' statBizObj.NonUpdateFields = ['statid'] statBizObj.UserSQL = 'select * from stat' statBizObj.requery()

Re: [dabo-users] standalone BizObj with FK relation not saving into database

2011-08-10 Thread Jacek Kałucki
Użytkownik Vineet Deodhar napisał: 2] Unsuccessful example-- from myDir import bo bo.distBizObj.seek('MyDist1', fld='distnm') bo.distBizObj.setFieldVal('distnm', 'MyDist2') 1) How did you know if expression is found? Is bo.distBizObj.seek('MyDist1', fld='distnm') = 0? 2) I'm not sure

Re: [dabo-users] standalone BizObj with FK relation not saving into database

2011-08-10 Thread Paul McNett
On 8/10/11 2:34 AM, Vineet Deodhar wrote: Hello List ! This is in continuation with my earlier mail on 'propython' mailing list. As suggested by Paul, I am posting my dabo related queries here. Preamble to my query:- I am trying to use just the BizObj layer into my 'web2py' framework.

Re: [dabo-users] standalone BizObj with FK relation not saving into database

2011-08-10 Thread Paul McNett
On 8/10/11 2:34 AM, Vineet Deodhar wrote: Hello List ! This is in continuation with my earlier mail on 'propython' mailing list. As suggested by Paul, I am posting my dabo related queries here. Preamble to my query:- I am trying to use just the BizObj layer into my 'web2py' framework.