Użytkownik Paul McNett napisał:
> On 1/27/10 10:22 AM, Jacek Kałucki wrote:
>    
>> Why virtual fields can hold only string values?
>>      
> What makes you think this?
>    

I can store value of any type but...
I can filter only strings.
Here is excerpt from dBizobj class code:

<code>
     def scanVirtualFields(self, fld, expr, op):
         virtValue = self.getFieldVal(fld)
         virtLower = virtValue.lower()
</code>

As you see, lower() method is valid only for strings and
raises an exception for other types.

-- 
Regards
Jacek Kałucki

_______________________________________________
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