Posted by: Veit Wadewitz
Hello @ all,
I have a slightly strange behaviour in an application using
SalReportTableCreate() function.
There is a form-window-class with a child table in it. The child table (has
no columns defined) contains a function using SalReportTableCreate()
The columns are defined in the instance of the form window class, e.g. one
numeric, on string.
Calling the function of the class, the report is generated with the correct
column names, but the items in the report ALL have string format.
Transferring data to the report results in "mismatch in data type"
Copying the function to the instance of the child table and calling it
late-bound is working fine.
I believe this behaviour to be a bug, because if the class-function is using
the columns of the instance table, it should also be able to use the
datatypes of the columns.
Please find attached a small application showing this behaviour, working
with the island database. It is showing the bug as it is with
SAM_CornerClick in the table and working (late-bound) with
SAM_RowHeaderDoubleClick. Version of the apt is TD 3.1, behaviour the same
also for 2005.1
Best regards
Veit Wadewitz