1. Gzim Ramizi
  2. PowerBuilder
  3. Thursday, 15 November 2018 14:01 PM UTC

Hi all

It's some time ago (PB 9 or 10)... It was possible to put the data of a datastore/datawindow into a clipboard during the debug-modus using a statement like this in the watch tab:

 clipboard(ids_lv_gruppen_belegungen.describe("Datawindow.data"))

 

Now, it seems that it doesnt work (?). Do you know an other way how to copy the data without workarounds (using string variables, etc.)?

 

TIA,

gzim

 

environment: Win10, PB 12.5 Build 2511 and PB 2017 R2 Build 1769.

Attachments (1)
Accepted Answer
René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 15 November 2018 14:27 PM UTC
  2. PowerBuilder
  3. # Permalink

I guess your are in a script in a datawindow control or a datastore. This objects have its own clipboard function that have another argument.

Two colons should help :-)

::clipboard(ids_lv_gruppen_belegungen.describe("Datawindow.data"))

 

Comment
  1. Gzim Ramizi
  2. Thursday, 15 November 2018 14:33 PM UTC
Thank you very much René, the two colons were the solution.
  1. Helpful
There are no comments made yet.
Stuart Macandrew Accepted Answer Pending Moderation
  1. Thursday, 15 November 2018 23:25 PM UTC
  2. PowerBuilder
  3. # 1

dwcontrol.saveas( "", 10, true)

(10 = saveas type of Clipboard!)

Comment
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.