Skip to main content

Cómo expotar datos de una forma

  • May 18, 2021
  • 2 replies
  • 0 views

Buenas tardes, soy algo nueva en uniface, me preguntaba si era posible exportar los datos que me arroja mi forma, ya que requiero esa informacion ya sea en un pdf o excel, o por lo menos en un xml. Hay manera de hacer esto?

2 replies

Gianni Sandigliano
Forum|alt.badge.img

Buenas tardes, soy algo nueva en uniface, me preguntaba si era posible exportar los datos que me arroja mi forma, ya que requiero esa informacion ya sea en un pdf o excel, o por lo menos en un xml. Hay manera de hacer esto?

Hi Celeste,

Uniface Documentation is your friend... 🙂 you can find it online HERE to search.

There is NO export of data directly built into Uniface to Excel or to PDF; you should program your solution interfacing a PDF or Excel library/application or buy something available from a 3rd party.

To export to XML data retrieved from a component you could use initially:
- componenttostruct
which move data available in your form into a struct variable, then:
- structtoxml
which move data from the struct variable into an xml variable.
To save your xml variable to a file you could use:
filedump

Clicking on the links you will find related documentation.

Hope it helps.

Regards,
Gianni


  • May 20, 2021

Buenas tardes, soy algo nueva en uniface, me preguntaba si era posible exportar los datos que me arroja mi forma, ya que requiero esa informacion ya sea en un pdf o excel, o por lo menos en un xml. Hay manera de hacer esto?

Perfect, I appreciate the help. Right now I'm checking it ...
regards 🙂