Hi,
I've encountered a rather frustrating error using one particular editable grid, and wondered if anyone else has had this?
The scenario is this.
I have a bunch of editable grids using pretty much every Metastorm type (text, real, datetime etc), used throughout various forms in a process. All of them are working fine EXCEPT for one.
The grid that is failing has a couple of text values and a single datetime column defined. The business object behind the grid is defined directly on the table to be edited and "seems" to have correctly identified the types for the table columns.
When I add a new row or delete a row I get the following error: (I've changed the grid name to "Grid1" and DateTime column to "StartDate" just for the example)
Failed to execute deployed method 'DataValue', using entity 'Grid1'. .StartDate and .StartDate have conflicting properties: DataType property mismatch.
1) I've tried deleting the grid and the business object, and then re-creating them, but that doesn't seem to work.
2) I've also gone through the MBO XML file to check the data type defined in the Business Object for the target column and that is defined as a "DateTimeType" too.
3) I've changed the column type to "Text" for the DateTime column, but that makes the column Read-Only because the underlying column is of DateTime. This at least allowed the grid to be edited (inserts and deletes), but is no good as a solution.
I'm probably going to have to create a workaround for this one grid due to time constraints by creating a bunch of fields next to a read-only grid and having some command buttons to insert into the grid, but I'd really like to figure out what is going wrong here.
Any pointers appreciated. (Version 9.1.2..3 (SQL Server))
Thanks
Phil