On May 1, 2012, at 6:16 AM, RUSSELL Thomas wrote:
> That code for the self.DataStructure is already uncommented. I commented it
> out to see what would happen and it still does not resolve this issue. There
> must be something somewhere happening because the numbers are rounded up and
> they shouldn't be.
>
> I could probably write up a grid on a form and load it manually to see
> whether it happens there as well.
>
> No other possible ideas as to what the issue for me might be?
The only thing I can think of to diagnose the issue is to add this code
to your bizobj:
def afterRequery(self):
print self.getDataSet(flds=['MyDecimalColumnName'])
...where, of course, you substitute the actual name of the column (or columns)
whose value you want to check. When you run the form and it queries the
database, this will print out the data that it gets from the database before
any of the UI elements such as the grid can manipulate it. If the data here is
rounded, then the problem lies in the database; if it has the full precision
you expected, then the problem in in the grid.
-- Ed Leafe
_______________________________________________
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]