Re: [dabo-users] 'NoneType' error...

2011-08-10 Thread Dewald Jacobs
Here is the complete output: CWD C:\dabodev\melk_verse\ui APPDIR c:\dabodev\dabo IGNORE False CALLED SCRIPT verse.py SCRIPT DIR C:\dabodev\melk_verse\ui GIVING UP C:\dabodev\melk_verse\ui Traceback (most recent call last): File verse.py, line 22, in module main() File verse.py, line 15,

[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] dabo not working

2011-08-10 Thread bob k.
the classdesigner window is displayed, but when I select OK to start a new form I'm getting the below error. thanks, bob k. -Original Message- From: Bob K. Sent: Tuesday, August 09, 2011 3:08 PM To: Dabo Users list Subject: Re: [dabo-users] dabo not working but I'm back to the

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()

[dabo-users] I tried class-based standalone BizObj : no success

2011-08-10 Thread Vineet Deodhar
@John, I tried with the class-based code as you have shown.   seek() setFieldVal() are working for 'statBizObj' only. But it is not working for 'distBizObj'. 'Not Working' means, no value is fetched from the 'distBizObj' through seek(), although it is there in the database.   I could observe it

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.

Re: [dabo-users] I tried class-based standalone BizObj : no success

2011-08-10 Thread John Fabiani
On Wednesday, August 10, 2011 09:44:40 am you wrote: @John, I tried with the class-based code as you have shown. seek() setFieldVal() are working for 'statBizObj' only. But it is not working for 'distBizObj'. 'Not Working' means, no value is fetched from the 'distBizObj' through seek(),