Kbase P124630: Is it possible to hide a whole TEMP-TABLE when exporting a ProDataSet to an XML file via the WRITE-X
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
Is it possible to hide a whole TEMP-TABLE when exporting a ProDataSet to an XML file via the WRITE-XML() method?
FIX:
It's not directly possible.
A possible solution is to define another ProDataSet with the same definitions as the original dataset, but without the TEMP-TABLE(s) that you want to hide.
Then, you can employ the COPY-DATASET() method on the new ProDataSet, and specify the copy-mode parameter (the 4th one) as "LOOSE"; this way, the schema between the two dataset need not be identical, and the copy will work.
Finally, perform WRITE-XML() on the new ProDataSet.