I'm dynamically building a sql statement using PB6.5 by using SQLCA.SyntaxFromSQL(ls_sql,"",ls_errors) statement. I then issue the dwc.Create(ls_dwsyntax, ls_errors)
Everything works fine at this point. It creates the sql fine and after I issue the settransobject and dwc.retrieve() functions, it retreives the rows.
However, after it retrieves the rows, I want to then change some of the values for one of the columns in the dw. I issue the dwc.setitem() function and then the dwc.accepttext(), dwc.update() funtions. I get no errors at this point.
I then do dwc.saveas() to save the dw to a text file. When I open the file, the column I did the setitem on is not updated with the new values.
Why would the update not work? How come the column values in the setitem() function do not update?
Keith
Everything works fine at this point. It creates the sql fine and after I issue the settransobject and dwc.retrieve() functions, it retreives the rows.
However, after it retrieves the rows, I want to then change some of the values for one of the columns in the dw. I issue the dwc.setitem() function and then the dwc.accepttext(), dwc.update() funtions. I get no errors at this point.
I then do dwc.saveas() to save the dw to a text file. When I open the file, the column I did the setitem on is not updated with the new values.
Why would the update not work? How come the column values in the setitem() function do not update?
Keith