On Apr 30, 2012, at 10:21 AM, RUSSELL Thomas wrote:

> Could this be a issue with having used the AppWizard? Should I just create 
> everything myself with the class designer, etc?

        No, since the AppWizard generates normal Python code

> Also, I looked in the code and am not sure where the data gets loaded from 
> the db to make the gui and display it, maybe in there I would assume I would 
> need to adjust things to make the full data show up correctly?

        The data gets loaded during the requery() call. But you shouldn't have 
to do anything there; you should only need to tell the column what it's 
DataType and Precision are in order for it to work correctly. There is a 
commented-out section in the biz/YourTable.py file (where 'YourTable' is the 
name of the table in your app) that defines self.DataStructure. You could try 
uncommenting that code and making sure that the field_type (second element of 
the tuple) for your decimal field is set to 'N'.
 


-- 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]

Reply via email to