can't reference nested report

I'm using PB6.5 and i want to composite a new function to change all window 
control: editmask, datawindow and userobject which contain the colum, 
compute field, nested report with date and datetime mask from user 
parameter: date format 'dd/mm/yyyy' or 'mm/dd/yyyy. This is challenge to me 
in the part of nested report since i can't refer objects inside nested 
report by PB describe function, e.g. dw_1.describe(dw_column_name + 
'.object.datawindow.objects') where dw_column_name is column name varible 
which show the PB assigns it an arbitrary name e.g. 'obj_123456'. PB help 
claim can refer nested report's objects by getchild function or by dot 
notation method with difference case examples but don't have an example to 
show how to solve the case when nested report objects don't assign the 
name. Any one can help and share your experience with me.
0
AAA
5/25/2003 5:19:00 AM
sybase.powerbuilder.datawindow 28057 articles. 5 followers. Follow

1 Replies
711 Views

Similar Articles

[PageSpeed] 11
Get it on Google Play
Get it on Apple App Store

Give those objects names, and then you'll know what to reference them
by.

On Sun, 25 May 2003 01:19:00 -0400, AAA wrote:

>I'm using PB6.5 and i want to composite a new function to change all window 
>control: editmask, datawindow and userobject which contain the colum, 
>compute field, nested report with date and datetime mask from user 
>parameter: date format 'dd/mm/yyyy' or 'mm/dd/yyyy. This is challenge to me 
>in the part of nested report since i can't refer objects inside nested 
>report by PB describe function, e.g. dw_1.describe(dw_column_name + 
>'.object.datawindow.objects') where dw_column_name is column name varible 
>which show the PB assigns it an arbitrary name e.g. 'obj_123456'. PB help 
>claim can refer nested report's objects by getchild function or by dot 
>notation method with difference case examples but don't have an example to 
>show how to solve the case when nested report objects don't assign the 
>name. Any one can help and share your experience with me.

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample?  Check out CodeXchange:
http://www.codexchange.sybase.com

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org
0
Bruce
5/25/2003 3:26:58 PM
Reply:

Similar Artilces:

Can't base report on stored procedure--'Can't create Datawindow'
I installed IM65 today to give it a try. I made a db config to our local ASE 11.9.2 engine via Sybase' odbc driver that came with 11.9.2. I start a new report, tell it to be tabular and to get data from a SP. It asks which SP and I tell it. The result is an odbc error: Cannot create DataWindow Intersolv SQL ODBC driver: Incorrect syntax near '='. 1 execute dbo.sp_si_addressbest_;0 RETURN_VALUE = :RETURN_VALUE' I can execute the SP fine from SQL Advantage or from Crytal Reports. Thanks. -- Frank Burleigh Indiana University School of Law Bloomi...

I can't get no cache, I can't get no cache. 'Cause I try and I try and I try and, I can't get no, I can't get no cache.
I have fiddled out for days tinkering with the setting in about:config trying to get FireFox 12 to use the disk cache. I have NOT found the trick. This One Trick Pony ain't doing it like it used to up until recently. Pray tell anyone, What information can I share that will point a knowledgeable person to aid me in getting FF to disk.cache? I have also tried restarting FF with add-ons disabled, (There were NOT too many to do this to, so it was quick and easy) Here is my stab at trying to convey the information that MIGHT govern matters Using about:cache Informatio...

Re: I can't get no cache, I can't get no cache. ' Cause I try and I try and I try and, I can't get no, I can't get no cache.
<div>please com e see me about htis<br /> <br /> ------- Original Message f= rom the Global Relay Archive -------<br /> From: Hp &lt;ferd@farkel.net&gt;= <br /> To: "support-firefox@lists.mozilla.org" &lt;support-firefox@lists.mo= zilla.org&gt;<br /> Sent: Sun, 27 May 2012 18:30:18 -0700<br /> Subject: I = can't get no cache, I can't get no cache. 'Cause I try and I try and I try = and, I can't get no, I can't get no cache.<br /> <br /></div> <pre class=3D"gr-maex-body-pre&qu...

2010: Can't register - can't download the software - can't register until I have the software
I have active maintenance on Rad Studio: From: Vicky Rassmisaengthong [mailto:Vicky.Rassmisaengthong@EMBARCADERO.COM] Sent: Wednesday, February 25, 2009 1:58 PM To: rgrossman Cc: amer.supportadmin@codegear.com; Ashley Cosentino Subject: Software Assurance Support for Tech III Inc PO# Credit Card Dear Embarcadero Technologies Support Customer, Welcome! You have been registered as the primary contact on support account number AM####### Herewith we confirm your Embarcadero Technologies support agreement covering: Qty 1 RAD Studio Enterprise Named User licens...

Can't access nested report data through dwobject reference variable
Hi, I have a function that takes a dwobject variable by reference. This function does various things with that dwobject (a column object). It gets its type, coltype and data. Then it sets its data. Here's some snippets of syntax: string ls_type, ls_data[ ] ls_type = adwo_object.Type ls_data = adwo_object.Primary adwo_object.Primary = ls_data All of this works when a simple column object is passed to this function. Example of a call from within a datawindow control event: dwobject ldwo_object ldwo_object = this.Object.mycol inv_object.of_func(ldwo_object) I have t...

Can't rename variables and can't find references
Hello. I can't rename any parameters or variables. The menu entries for renaming or finding (local) references are disabled in the context menu and the key bindings does not work either. I'm using Delphi2010. Is there a way to fix this? Best Reagards. Martin S. wrote: > Hello. > > I can't rename any parameters or variables. The menu entries for > renaming or finding (local) references are disabled in the context > menu and the key bindings does not work either. > > I'm using Delphi2010. Is there a way to fix this? > Can you bui...

Easy question, but I can't figure it out. Gridview nested in datalist .. I need to access the Gridview caption, but can't
To be more clear ...The datalist contains ItemIds, the gridview contains applications ids. When the page loads I need to check the database to see if the itemid / application id link already exists and if so check the checkbox. Everyhting works, except I can't get the itemid to check the DB with. Any suggestions, what am I doing wrong? I'm getting the object reference not set to the instance of an object error. TIA,Kyle 1 <asp:DataList ID="ItemsDataList" runat="server" DataSourceID="ObjectDataSource1"> 2 <ItemTemplate> 3 <h2>Part...

Two things,Why do I keep getting emails that I don't want. can't get rid of them? Why can't I get my email when I am out of town? Or can I?
Name: Ed Leech Email: ELCraftatzoominternetdotnet Product: Thunderbird Summary: Two things,Why do I keep getting emails that I don't want. can't get rid of them? Why can't I get my email when I am out of town? Or can I? Comments: I am getting frusted with all the emails coming in that I do not want, I am using the tools to get thme out but they keep coming. They just use different names or whatever. I have been thinking of just switching to something else but my business intrusts know this email and it is tooo confusing to change. Every time I go out of town on bu...

1. Can't report crash via Quality Feedback 2 I Can't send images, files etc from within Adobe Standard 8, Open office, Paint Shop Pro XI
Name: Tom Turner Email: turnipstwoatbigponddotcom Product: Thunderbird Summary: 1. Can't report crash via Quality Feedback 2 I Can't send images, files etc from within Adobe Standard 8, Open office, Paint Shop Pro XI Comments: 1. I am told to correct my proxy but my computer expert advises me that they are OK. 2. If I add manually add these things as attachments they go The problem only arose with v2.0.0.22, not with the previous version. I have an .rtf screen shot I could send if I had an address. TT Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; r...

superreview requested: [Bug 336121] Can't click links inside a left-aligned table nested in a table with display:inline (can't interact with talkbacks on ynet.co.il) : [Attachment 220462] fix
Robert O'Callahan (Novell) <roc@ocallahan.org> has asked David Baron <dbaron@mozilla.com> for superreview: Bug 336121: Can't click links inside a left-aligned table nested in a table with display:inline (can't interact with talkbacks on ynet.co.il) https://bugzilla.mozilla.org/show_bug.cgi?id=336121 Attachment 220462: fix https://bugzilla.mozilla.org/attachment.cgi?id=220462&action=edit ------- Additional Comments from Robert O'Callahan (Novell) <roc@ocallahan.org> Same old story. nsTableOuterFrame is PR_FALSE for IsAbsoluteContainingBlock, bu...

superreview granted: [Bug 336121] Can't click links inside a left-aligned table nested in a table with display:inline (can't interact with talkbacks on ynet.co.il) : [Attachment 220462] fix
David Baron <dbaron@mozilla.com> has granted Robert O'Callahan (Novell) <roc@ocallahan.org>'s request for superreview: Bug 336121: Can't click links inside a left-aligned table nested in a table with display:inline (can't interact with talkbacks on ynet.co.il) https://bugzilla.mozilla.org/show_bug.cgi?id=336121 Attachment 220462: fix https://bugzilla.mozilla.org/attachment.cgi?id=220462&action=edit ------- Additional Comments from David Baron <dbaron@mozilla.com> The pseudoStackingContext stuff basically just puts the block-float-inline layers...

Can't do a getchild in a nested report
Hi, I want to acces a report in my datawindow but I can't do a getchild of it. I'm doing it in the open event. Do I have to do a SetTransObject after the GetChild ? Hi, getChild() works only for reports nested in composite reports. Is your dataWindows dataObject a composite report? setTransObject should be without any influence of getChild(). But in case you want to retrieve the nested dataObject and the main dataObject is'nt setTransObject()ed at this time, you need to do a setTransObject() on the child object. HTH Chris Werner <Eric> schrieb im...

Can't execute a nested report
I'm trying to nest a datawindow in another one - everything works fine - link the retrieval arguments etc. When I try to preview or run the main window, all I get is a small rectangle of the base report. The base report runs fine without the nested report, as does the dw that defines nested report. I can't get the two to work together! Using 5.02 on win 95 Appreciate suggestions. Joe Hi, Look if the propertie Autosize height is checked in the report object of your nested report and also in your detail section of your DW object. Frederic MAS ...

How can I get the reference of nested report in datawindow?
I will like to insert or modify data in nested report. I am using pb65. thanks. simon Simon, Reference the DataWindow's GetChild() function in the on-line help. HTH Mark DeRosa CPD simon wrote in message ... >I will like to insert or modify data in nested report. >I am using pb65. > >thanks. > >simon > > GetChild() can only get reference to dddw or to a report in a composite dw. it can't get reference to nested report. simon Use the dot notation. e.g. dw_1.Object.nt_cutomer.Object.Data = dw_customer.Object.D...

Web resources about - can't reference nested report - sybase.powerbuilder.datawindow

Resources last updated: 12/21/2015 6:20:42 AM