IUS-DataBlade-function returning rowtype -> Webdriver
Posted in 1997
Hello, i have a question to a row-type-returning DataBlade-function. I need to return 2 columns from this function. The only way that i have found to do this is to return a "MI_ROW *". For this i create a row-description with mi_row_desc_create(mi_typestring_to_id("rowTypeName",...)) then i build a row from this row_description and the respective values that is returned (in an iterator-function). Ok, this works fine, but the result is a little problematic. If you call the function something like the following is returned: |(expression) | --------------- |col1 | col2| --------------- | a | 1 | | b | 2 | ... The result is only 1 column with the name "(expression)" that includes a row-type-value. This row-type-value in turn includes the 2 desired columns. How can it be done to directly return the 2 columns without embedding them in one external column ? Otherwise, if it is not possible, how can a WebDataBlade-Page evaluate the two columns ? A "$1" within a MISQL-Statement concerns the single external column, but the row cannot be handled like this. Does anybody have an idea ? Thanks, Gert. -- Gert Brinkmann email: gbrinkmann@dimedis.de Software Development tel: 0221/921260-0 dimedis GmbH fax: -99 Habsburgerring 2-12 http://www.dimedis.de 50674 Koeln http://www.RealTimeImage.de