Skip to Content
author's profile photo Former Member
Former Member

powerbuilder structure

how do i export contents of a powerbuilder structure to a xml file or datawindow?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 31, 2013 at 07:03 PM

    Hi Michael;

    Lar's suggestion will work great. Just remember that the DW's primary buffer columns must be a mirror image of your structure's data elements in order to use the direct DOT notation update.

    Another alternative is to implement this as a PB NVUO published as a web service. If the WS returns the structure in a method call - the WS will convert the structure into an XML data stream.

    Good luck!

    Regards ... Chris

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 31, 2013 at 01:53 PM

    In script?

    str_employee lstr

    lstr.name = 'Fred'

    lstr.dob = date ( '1970-01-03' )

    dw_1.object.data[1] = lstr_employee

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.