On 07/14/2010 05:39 PM, Paul McNett wrote: > On 7/14/10 2:32 PM, Jeff Johnson wrote: > >> I have an SQLite table with numeric fields. I set default values to 0 >> in the bizobj. I am not sure why I am getting the following message: >> >> Dabo Error Log: Wed Jul 14 14:19:47 2010: !!! Data Type Mismatch: >> field=pol_variance. Expecting:<type 'unicode'>; got:<type 'int'> >> >> pol_variance is a numeric field and when I set the default value in the >> bizobj I get the above message. >> > Do you explicitly set biz.DataStructure, and if so do you define the field > type as "N"? > > If you don't explicitly set biz.DataStructure, the only way Dabo can correctly > identify the type of sqlite fields is if numeric fields are defined as > DECIMAL. > > Paul > Paul: I have the biz.DataStructure set as N.
-- Jeff --------------- Jeff Johnson [email protected] (623) 582-0323 www.san-dc.com _______________________________________________ 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]
