On 4/1/12 12:48 AM, Simon Giraudo wrote: > Hi - I'm new to the list and relatively new to Dabo.
Welcome! > I am getting a data type mismatch error, "table -> field expecting : type > long; got type unicode". > Error is being generated because I am entering the value (a number) directly > into a cell of a dGrid. The cell > is connected to a database field of type long, via a bizobj class. I handle > the unicode type value by converting it > to a long. then calculate a new value which populates another cell. Works a > treat, except for the error. > > I could create a dialogue that accepts the value through a text box that is > not directly associated with a field data type > but I would prefer not to - if possible. is it possible to type the column > of the grid? You could try the DataType property of the dColumn, but if the data is in a bizobj the preferred way is to set biz.DataStructure with the proper data types for each column and then everything should just work. Paul _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/4f785e40.7000...@ulmcnett.com