On 2/9/2010 4:28 PM, Ed Leafe wrote:
> On Feb 9, 2010, at 9:23 AM, sim wrote:
>
>   
>> The call to the calls table is simply:
>> select * from calls
>> pragma table_info('calls')
>>
>> Maybe the problem is with the bizobjs, they are very basic:
>> Calls:
>> import dabo
>> from LookupBizobj import LookupBizobj
>>
>> class CallsBizobj(dabo.biz.dBizobj):
>>        def afterInit(self):
>>                self.DataSource = "calls"
>>                self.KeyField = "callid"
>>                self.UserSQL = "select * from calls"
>>     
>       There's your problem: you defined the UserSQL property, which 
> essentially tells Dabo that you are going to handle all the query creation 
> yourself instead of letting Dabo figure it out. 
>
>       Remove those lines from both bizobjs and try it again.
>
>
> -- Ed Leafe
>   
That worked.
Thank you much.

Sim
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to