1. JIJO THOMAS
  2. PowerBuilder
  3. Monday, 9 May 2022 11:32 AM UTC

Hi Team,

Greeting for the day,

Requesting to kindly help me to know how to upload and edit the word template in PowerBuilder ( OLE ).

I have multiple templates and want to upload on basis of condition.

Need to edit the template and print the same after the process.

Thanks in advance.

 

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 11 May 2022 03:43 AM UTC
  2. PowerBuilder
  3. # 2

Hi,

Your question isn't very clear.

As a start, what do you mean with "upload"? From where to where?

Can you describe your "process"?

regards

Comment
  1. JIJO THOMAS
  2. Wednesday, 11 May 2022 07:18 AM UTC
Thank you for your response.

I have to print data from PowerBuilder using word template format. Currently i have designed the data window similar to word template. but the template is getting changes every month so i need to modify my data window regularly. For avoiding the periodic data window edit, is there any method for importing the template format to data window or any dynamic data window design edit feature.

  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 11 May 2022 08:29 AM UTC
Instead of using the datawindow, you can use OLE to open a word template and then do a Word merge to fill any fields.

Try to find any examples on the Q&A or maybe on https://community.appeon.com/index.php/codexchange/codexchange

regards
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 11 May 2022 16:47 PM UTC
Hi Juo;

FWIW: When I have had this type of challenge in the past, I did *not* store the DW Object source in the PB App itself. Instead, I exported it & stored the DWO source in the Database within a Blob Column common table. Then at runtime, the PB App uses the SelectBlob SQL command to get the DWO Source and followed with a CREATE() command to instantiate the DWO dynamically for runtime use. Thus, when a new DWO is required, I only needed to upload the new DWO Source to the common DB table's Blob Column and then all PB App users now had the new form instantaneously with no App deployment required . Food for thought.

Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.