I used this syntax in PB9, how to use in datawindow.net with C#?
ls_objects = string(datawindow.object.datawindow.objects)
I hope to get a list of the controls in the datawindow objects.
On 5 Jan 2006 23:30:30 -0800, "Robert" <email@example.com> wrote:
>I used this syntax in PB9, how to use in datawindow.net with C#?
>ls_objects = string(datawindow.object.datawindow.objects)
>I hope to get a list of the controls in the dataw...DataWindow This, DataWindow That...
Blah blah blah
You've heard it enough that you don't even want to comment on how many
....but it can't be enough anymore...can it?
This from one of our colleagues
(and yes my apologies for taking it out of context)...
"...PB covers all you need to do that in ONE Tool. This
includes Windowprogramming ( meaning the interface to the user:
Windows, Sheets, diallougeboxes, etc.), Database operability AND
Reporting! Well, I see als well as many other PB users that some of
the implementations and features PB offers are improvable. But thi...Use DataWindow Object Properties in DataWindow Object Expression
Can I make use of the properties of objects in the expression?
For example, can I set an expression in COLUMN_A's color property which
reference the color property of COLUMN_B. I don't know how to access
properties in expressions. Can anyone help me? Thanks.
You can use the Describe() function.
Alex wrote in message <362D543F.F34B5F33@hotmail.com>...
> Can I make use of the properties of objects in the expression?
>For example, can I set an expression in COLUMN_A's color property which
>reference the color property of...Converting datawindow objects to datawindow .Net
Can someone please list the various methods we can use to
convert the standard datawindow object to a datawindow .net
I'm lost. There's no conversion necessary. PB and DW.Net use the
same datawindow objects.
On 19 Feb 2007 17:46:15 -0800, Converting wrote:
>Can someone please list the various methods we can use to
>convert the standard datawindow object to a datawindow .net
Thanks Bruce. I probably confused you but good to know that
we can modify the datawin...Help!!! Assign Datawindow into Datawindow object
Usually I used to assign a datawindow (dw_train) in a datawindow object
(dw_1) in a window
is go to propertise of datawindow object and browse for datawindow.
My Question:- How to this action into pb script?
If you want to assign datawindow 'd_my_dw' to a dw control dw_1 in your script,
you would say dw_1.DataObject = 'd_my_dw'
If you are going to make an executable, do not forget to include d_my_dw in your
On Fri, 04 Dec 1998 07:34:37 -0500,
CKS21 <firstname.lastname@example.org> wrote:
>Usually I used to...Binding DataWindow object to DataWindow control
When we create a datawindow object we can bind it to
datawindow control which actually i dont know to do, so i
have dragged and dropped the objects onto a window then the
source code generated is something like this
dw_window is my window
dw_1 is datawindow object on the window
global type dw_window from window
type st_1 from statictext within dw_window
type dw_1 from datawindow within dw_window
What this line of code specify?
type dw_1 from datawindow within dw_window
Is it that by dragging and dropping it automatically cr...How to share the datawindow to inner datawindow of nested datawindow
How to share the datawindow to inner datawindow of nested datawindow.
dw_1 is normal datawindow dw_nes is nested datawindow, both are placed
dw_nes contain dw_child datawindow
i want to share dw_1 and dw_child.
I have tried the below code, getting error
It's the dot notation. You will need to dw_nes.GetChild("dw_child", ldwc)
where ldwc is a _local_ datawindowchild.
<email@example.com> wrote in message
news:firstname.lastname@example.org...Describe("DataWindow.Objects") Functionality for Report DataWindow object Doesn't Work
I want to change the nested report object(s) attributes.
I had used Describe() function to get objects -("DataWindow.Objects").
After removing the tab spaces I was able to get the object name within that
DW. By checking the Attributes -(ls_obj + ".Attributes") I came to know by
finding "nested_argument" that the current object is (nested) report.
Now if I assigned this object to the DDDWChild/Any variable it gives error
either at compilation or at run time.
If I created a datastore locally & assigned the dataobject of the current ...external datawindows, ole objects and a composite datawindow
I have 5 external datawindows that I will use for printing
an enrollment form. Two are purely legal text that I am
using an ole(word doc) for, one will be populated using
embedded sql and setitem calls, and the other two are a
combination of ole and external columns.
1. Does the normal process of dw_control.settransobject
dw_control.retrieve work for ole based datawindows?
2. If this is the right approach, then do I "retrieve" the
ole datawindows and populate my other datawindows first and
3. retrieve the composite datawindow for preview and print
...Reference a datawindow object (nested report) in a datawindow
Is it possible to reference a datawindow object in a datawindow?
My scenario :
I have a datawindow (composite) which holds another datawindow (nested
This child datawindow has a OLE ActiveX object which I am trying to access
from the window which holds the composite datawindow.
The reason for this is because I need to access the ActiveX
properties/functions after the composite datawindow have been retrieved.
I've tried to get a reference to the child datawindow :
But as datawi...Error in putting datawindow object in datawindow control
When I choose dataobject from the Datawindow Control's
Property Tab and save, Powerbuilder always crashes. If I
restart PowerBuilder, the dataobject is already saved.
Could anybody help me???
Same thing happend to me in previous version of 902 7509
<Rachel> wrote in message news:email@example.com...
> When I choose dataobject from the Datawindow Control's
> Property Tab and save, Powerbuilder always crashes. If I
> restart PowerBuilder, the dataobject is already saved.
> Could anybody help me???
...DataWindow ColType is wrong in DataWindow Object, how do I change it?
Problem: rows = dw_1.Retrieve() crashes (returns -1)
I know why it's doing it but I can't fix it. Here is what I have found.
Initially I created a DataWindow Object called d_geninfo which saves
data to the GENINFO table. Then, some months later, I changed the
HOMEOWNER column in the GENINFO table from Char(1) to Char(16) and I
created a second DataWindow Object d_geninfo_preferred that accesses the
same GENINFO table. If I save data using d_geninfo_preferred that is
more than 1 character long and I later retrieve it into d_geninfo it
Now the goofy part. I...Datawindows with child datawindows
I want to create a datawindow whose only data is three columns that will
themselves be drop-down data windows. These child datawindows will be
populated in PB script with dw_1.GetChild(). When I create that parent
datawindow (New | Datawindow | Freeform), what do I choose in the next
dialog box ("Which datasource would you like to use?") External?
That depends on how you want to populate and use the columns of the main DW.
The DDDW is an edit style that assists the user in selecting a value for the
column in the main DW. If you want to retrieve the values ...datawindow
Add direct setting and getting capability for the datawindow where clause.
This would have to be a string array in case of unions.
Return ONLY the where clause(s) in the main select (in case of sub-selects,
ignore the where clause or somehow list it as a subselect in the where or a
subselect in the select).
It would be great if I could just get and set this as a value and have the
datawindow automatically change (or add) the where clause as specified.
This is for setting the where clause dynamically at run time. Currently
have to parse through the datawindow.table.select looking f...