niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle » Tools
Collapsing a column in layout dynamically in Oracle Reports 6
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
geturchandu
*nix forums beginner


Joined: 02 May 2006
Posts: 1

PostPosted: Tue May 02, 2006 6:44 pm    Post subject: Re: Collapsing a column in layout dynamically in Oracle Reports 6 Reply with quote

I am facing the same problem as described in the posts.I am try to hide
some fields depending on the parameters. Can u explain both the ways
that can be used to solve this. ie creating a new layout and usage of
global temporary tables.
Thanks in advance for any help offered.

sekhar


--
geturchandu
------------------------------------------------------------------------
geturchandu's Profile: http://www.dbtalk.net/m267
View this thread: http://www.dbtalk.net/t78709
Back to top
DA Morgan
*nix forums Guru


Joined: 06 Mar 2005
Posts: 1042

PostPosted: Wed Apr 27, 2005 3:41 am    Post subject: Re: Collapsing a column in layout dynamically in Oracle Reports 6 Reply with quote

OraRepDvlpr wrote:
Quote:
Thanx Daniel.
I found an easy way (accidently) of doing it by creating a new layout
(with two columns) and then hiding one layout at a time depending upon
report type. I would like to know about the global temp table that you
suggested. What should be in the global temp table?

Not related to this, I cannot get rid of the border around a OLE object
in the margin section even if I deselected all (TOP/LEFT/RIGHT/BOTTOM)
from Format-> Borders for an bmp. Any idea....

I use global temporary tables, a lot, to stage data for reports.

Since the table is permanent, only the data is temporary, it is
simple to insert it into the table using PL/SQL and then report
on it.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)
Back to top
ORA-LEARNER
*nix forums beginner


Joined: 11 May 2005
Posts: 10

PostPosted: Wed Apr 27, 2005 1:35 am    Post subject: Re: Collapsing a column in layout dynamically in Oracle Reports 6 Reply with quote

Thanx Daniel.
I found an easy way (accidently) of doing it by creating a new layout
(with two columns) and then hiding one layout at a time depending upon
report type. I would like to know about the global temp table that you
suggested. What should be in the global temp table?

Not related to this, I cannot get rid of the border around a OLE object
in the margin section even if I deselected all (TOP/LEFT/RIGHT/BOTTOM)
from Format-> Borders for an bmp. Any idea....
Back to top
DA Morgan
*nix forums Guru


Joined: 06 Mar 2005
Posts: 1042

PostPosted: Tue Apr 26, 2005 8:41 pm    Post subject: Re: Collapsing a column in layout dynamically in Oracle Reports 6 Reply with quote

OraRepDvlpr wrote:

Quote:
Hi,
I need help on the following issue:

I have a query that is the union of two sqls. Depending upon the report
type selected on Parameter Form, only one SQL is fired at a time. I am
using single layout for both the reports.
The result set of two SQLs differ by a column as explained below:

Result Set for SQL 1(Report1): Col1 Col2 Col3----------
Result Set for SQL 2(Report2): Col1 Null Col3

Desrired Output for SQL2: Col1 Col3--------------------

When the SQL2 (Report2)is fired, I get a blank for Col2 (i.e. null) and
there is a gap in the report output for null values.

What I want is to collapse Col3 so that it does not leave any space
after Col1 and is printed inplace of Col2. The arrows represent that
the border of the col2 shoudl be extended till end of row.
My initial guess was using the Horizontal Elasticity property to
Variable using PL/SQL code. I don't know if I can alter the properties
programitically.

Any ideas,

TIA.

Load a global temporary table and report from it.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)
Back to top
ORA-LEARNER
*nix forums beginner


Joined: 11 May 2005
Posts: 10

PostPosted: Tue Apr 26, 2005 7:46 pm    Post subject: Collapsing a column in layout dynamically in Oracle Reports 6 Reply with quote

Hi,
I need help on the following issue:

I have a query that is the union of two sqls. Depending upon the report
type selected on Parameter Form, only one SQL is fired at a time. I am
using single layout for both the reports.
The result set of two SQLs differ by a column as explained below:

Result Set for SQL 1(Report1): Col1 Col2 Col3---------->
Result Set for SQL 2(Report2): Col1 Null Col3

Desrired Output for SQL2: Col1 Col3-------------------->

When the SQL2 (Report2)is fired, I get a blank for Col2 (i.e. null) and
there is a gap in the report output for null values.

What I want is to collapse Col3 so that it does not leave any space
after Col1 and is printed inplace of Col2. The arrows represent that
the border of the col2 shoudl be extended till end of row.
My initial guess was using the Horizontal Elasticity property to
Variable using PL/SQL code. I don't know if I can alter the properties
programitically.

Any ideas,

TIA.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 1:00 am | All times are GMT
navigation Forum index » Databases » Oracle » Tools
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Move Oracle 10g database to another location Selt Server 0 Fri Jul 21, 2006 2:14 pm
No new posts Oracle runtime Spitfire Server 0 Fri Jul 21, 2006 1:18 pm
No new posts Oracle Text Score Computation jatinder.1975@gmail.com Server 0 Fri Jul 21, 2006 1:00 pm
No new posts pyqt scrollview layout Felix Steffenhagen python 1 Fri Jul 21, 2006 9:54 am
No new posts Can a trigger insert records into another oracle server Tauqir Server 2 Fri Jul 21, 2006 12:27 am

Credit Cards UK | eHarmony Coupon | Mortgage | Debt Help | Debt Consolidation
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3525s ][ Queries: 20 (0.2385s) ][ GZIP on - Debug on ]