Report field condition
In a report region.
I can change the template to form region. Then the data shows as:
Field1: data
Field2:
Field3: data
Field1: data2
Field2: data2
Field3: data2
Is it possible to set a condition that hides the field that is null:
Field1: data
Field3: data
Field1: data2
Field2: data2
Field3: data2
I've tried conditions that work on items, but can't get it to work on a report, is it possible.
Hello.
can you please elaborate on option 2
Restrict your query based on period and create variant on this time characteristic so that no user input is required.
I thought of a config table with
Process chain month date
For each PC user will fill a month and corresponding date, at the decision box in the process chain last step, we compare that with the system date and if matches we Broadcast to people.
Is this a bad option ...please suggest.
Regards
Krishna
Similar Messages
-
SQL Query (updateable report) Region - Conditionally Hide and Set Values
SQL Query (updateable report) Region - Conditionally Hide and Set Values
Outline of requirement :-
Master / Detail page with Detail updated on same page using SQL Query (updateable report).
The detail region has the following source
SELECT item_id,
contract_id,
CASE WHEN hardware_id IS NOT NULL THEN
'HA'
WHEN backup_dev_id IS NOT NULL THEN
'BD'
WHEN hardware_os_id IS NOT NULL THEN
'HS'
END item_type,
hardware_id,
backup_dev_id,
hardware_os_id
FROM "#OWNER#".support_items
WHERE contract_id = :P26_CONTRACT_IDThe table support_items implements arced relationships and has the following columns
CREATE TABLE SUPPORT_ITEMS
ITEM_ID NUMBER NOT NULL,
CONTRACT_ID NUMBER NOT NULL,
HARDWARE_ID NUMBER,
BACKUP_DEV_ID NUMBER,
HARDWARE_OS_ID NUMBER
)A check type constaint on support_items ensures that only one of the fk's is present.
( hardware_id IS NOT NULL
AND backup_dev_id IS NULL
AND hardware_os_id IS NULL
OR ( hardware_id IS NULL
AND backup_dev_id IS NOT NULL
AND hardware_os_id IS NULL
OR ( hardware_id IS NULL
AND backup_dev_id IS NULL
AND hardware_os_id IS NOT NULL
) Hardware_Id is a FK to Hardware_Assets
Backup_dev_id is a FK to Backup_Devices
Hardware_os_id is a FK to Hardware_op_systems
The Tabular Form Element based on item_type column of SQL query is Displayed As Select List (based on LOV) referencing a named list of values which have the following properties
Display Value Return Value
Hardware Asset HA
Backup Device BD
Computer System HSThe Tabular Form Elements for the report attributes for hardware_id, backup_dev_id and hardware_os_id are all Displayed As Select List (Based on LOV).
What I want to do is only display the Select List for the FK depending on the value of the Select List on Item Type, e.g.
Item_Type is 'HA' then display Select List for hardware_id, do not display and set to NULL the Select Lists for backup_dev_id and hardware_os_id.
Item_Type is 'BB' then display Select List for backup_dev_id, do not display and set to NULL the Select Lists for hardware_id and hardware_os_id.
Item_Type is 'HS' then display Select List for hardware_os_id, do not display and set to NULL the Select Lists backup_dev_id and hardware_id.
There are properties on elements to conditionally display it but how do we reference the values of the SQL query Updateable region? they are not given a page item name?
Also on the Tabular For Elements there is an Edit tick against a report item - however when you go to the Column Attributes there is not a property with which you can control the Edit setting.
What's the best way of implementing this requirement in APEX 3.1?
Thanks.>
Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "user13515136".
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
I have a multi-row region that displays values and allows entries in a number of fields.Provide exact details of how this has been implemented. (An example on apex.oracle.com is always a good way to do this.)
I should like the fields to be conditional in that they do not permit entry, but still display, if certain conditions apply (e.g. older rows greyed out). Can this be done? Almost anything can be done, often in multiple ways. Which are appropriate may be dependent on a particular implementation, the skills available to implement it, and the effort you're willing to expend on it. Hence it's necessary to provide full details of what you've done so far... -
Can You Use A Report Field Value In A Hyperlink?
<p>I have a report field that I would like to be a link to another application. Making a report field a hyperlink to a web page was nice and simple. However, I was expecting to be able to use the value of the field in the hyperlink something like...</p><p><a href="http://mywebsite/controller?action=servlets.ReportAlertDetailListAction&key={AlertSearch.ALERT_KEY">http://mywebsite/controller?action=servlets.ReportAlertDetailListAction&key={AlertSearch.ALERT_KEY</a>}</p><p>...where AlertSearch is the table name and ALERT_KEY is the field name. Is there a way to use a report field in a hyperlink? Would using a formula allow it to be dynamic? The goal is to have each row of the report link to a URL with a different parameter. I can see eventually redoing it as a drill down feature but the detail I need already exists in a separate application.</p><p>Thanks,</p><p>Ed</p>
Hi Ed.
I believe the conditional formula that you would use (don't just type in the text box - press the button for the formula first).
"[http://mywebsite/controller?action=servlets.ReportAlertDetailListAction&key | http://mywebsite/controller?action=servlets.ReportAlertDetailListAction&key]=" + {AlertSearch.ALERT_KEY}
The key is to use the conditional formula feature of the hyperlink feature.Â
Enjoy!Â
    - Kathryn Webster (Report Design Consultant)
          Kat's News: http://diamond.businessobjects.com/blog/279 -
Multiple report fields from single physical column.
Hi Experts,
I have a physical table like below. Multiple records for a single customer id. The no of Address_type may increase in future.
Customer_id Address_Type Address
101 Primary abcdefgh
101 Secondary 234oij3mb4
101 Billing mdmnweoij4
102................etc.
My Requirement on OBIEE is to display report as below.
Customer_ID, Primary_Address, Secondary_Address, Billing_Address.
101 abcdefgh 234oij3mb4 mdmnweoij4
Multiple report fields ( Primary_Address, Secondary_Address, Billing_Address ) are derived from same physical column ADDRESS.
I tried to duplicate the Address column on the report thrice and added conditions like Address_Type = Primary/Secondary/Billing for those three fields respectively.
But only of the field is getting correct data and rest of duplicate columns are null.
Tried FILTER function on OBI Answers, but the function fails saying it should be used only on measures.
Thought the alternative would be to define multiple logical columns at BMM layer. Created multiple alias for same table at physical layer and correspondingly created LTS for each on a single logical table. Defined Fragmentation/Where conditions.
LTS1 - Address_Type = PRIMARY
LTS2 - Address_Type - SECONDARY
LTS3 - Address_Type - BILLING
Created multiple logical columns from each LTS like Primary_Address, Secondary_Address, Billing_Address from LTS1, LTS2, LTS3 respectively.
This time, am getting data for all the fields on the report but getting cartesian result.
Can someone guide me whether my approach is correct or any other alternate best approach to achieve the desired result.
Note: I have the data Address on multiple physical rows for a customer, rather Not in a single row. which is causing me problem.
Thanks...
Ramchand.Hi Srini VEERAVALLI,
I have lot many other fields in the same report coming from other tables.
Does the Pivot table option for above mentioned Address fields affect other columns?
If Yes, Can there be any other alternative? Am thinking of Opaque View at Physical layer to bring all Addresses on a single row.
Thanks...
Ramchand. -
How Make the Report Fields Read only
Hi I have drop down selection in a Report field.After selecting a particular value and submiting it the field should become readonly.
Hi SanjayBala!
Create a conditional branch that will be executed if your select list submits (the branch must be conditional. The conditiontype is request = e1 and e1 is the name of your select list). This Branch ought to have a request (lets say select_list_ro). Create a read only condition for your select list (request = e1) that comes to use if the current request is select_list_ro.
Hope that helps!
yours sincerely
Edited by: Florian W. on 03.02.2009 14:04 -
Hello,
In Administration -> Setup -> Business Partners -> Countries there is a field called 'Code for Reports'. Does anyone know what this field is for? I thought it was for possibly putting in a different variation of the country code, e.g UK instead of GB to be displayed on printouts however it is not being displayed when i print preview/print.
Any advice is appreciated.
Many thanks,
KateHi Gordon,
I've tried displaying code on the print layout too but this does not get pulled through either. I would like to use the 'code for reports' field to display 'UAE' instead of 'AE'. 'AE' is the default country code for United Arab Emirates which cannot be changed however the users would like to see 'UAE' instead.
Kind regards,
Kate -
Crystal Reports Field Explorer not showing
Hi,
I am using Visual Studio 2003 with the bundled version of Crystal Reports. It has always worked fine until recently the Field Explorer tool bar does not show up anymore when I open a Crystal Report for development. I have uninstalled the entire Visual Studio and reinstalled the Visual Studio but it still will not show the Crystal Reports Field Explorer. However, if I install the Visual Studio on a completely different computer it works fine. Anyone have any idea what could be causing this problem on my main computer? Could it be a setting somewhere in the Visual Studio? I cannot find any information on this problem.
Thanks,
RazzleOk, I figured out what the problem was. It was something wrong in my Windows profile. So I deleted my Windows profile and created a new one and it is working now.
Razzle -
Dynamically set report field value
In my old classic VB project, I was able to set a report field value using the following simple line of code.
someReport.SomeField.SetText u201Cabcu201D
This was nice and simple, now with crystal reports .Net I do the following:
((TextObject)someReport.SectionX.ReportObjects["SomeField"]).Text = u201Cabcu201D;
Itu2019s simple enough but seems too elaborated compared to the good old VB6.
Not that is a big deal but is there a simpler way (Classic VB6 style) to set a field on a report without me having to create my own utility method to u201Csimplifyu201D things?
Thanks.Perhaps using a formula?
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Public Class Form1
Inherits System.Windows.Forms.Form
Dim Report As New CrystalReport1()
Dim FormulaFields As FormulaFieldDefinitions
Dim FormulaField As FormulaFieldDefinition
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
FormulaFields = Report.DataDefinition.FormulaFields
FormulaField = FormulaFields.Item(0)
FormulaField.Text = "[formula text]"
CrystalReportViewer1.ReportSource = Report
End Sub
Other than that, InProc RAS, but if the solution you have is complicated, you ain't seen nothing yet
- Ludek -
Making dynamic links from report fields
Is there a way to make report fields link to differnt websites? I can't use the 'link' tool in 'editing' option of making the report because the link will not be the same for each record in the database. The field itself is actually the address of the website I want to be able to link to. So essentially, what I want to do is something like: ..but this does not work. Does anyone know if this is possible??
Thanks!You can use SQL report to do this:
Suppose the column which contains the web addressed is called url_column, your SQL
will be something like
select htf.anchor(url_column, name) from the_table
Then in the Column Formatting page,
set the "Display as" for column url_column as HTML.
Run the report and the values form that column will be a url which links to other web sites
null -
Post Author: jehanzeb
CA Forum: Formula
Afternoon all,
Just wondering how can you summarise a report field. I have the total number of jobs field which displays the total number of jobs any person has done at any one time. Now in the report I want to add up all the jobs which has been done by all users.
Example:
Name - Total Jobs
James- 10
Andrew-11
Total = 21
The above example shows the total number of jobs both (James and Andrew) performed.
How can I achieve this?
*I have tried the formula field - however, it says "This field cannot be summarised".
Formula used " DistinctCount ({#Total Jobs}) "
Please help!
Many thanks
Regards
JehanzebPost Author: jehanzeb
CA Forum: Formula
Not to worry I have resolved the issue.
I had to create the summary (E) type icon and choose the fields to summarise the report field. Sometimes you miss obvious things!! :-D
anyhow it has been fixed so closing this thread.
Regards
Jehanzeb -
Dynamically modify the crystal report field size based on Paper size in C#
Hi,
I need to modify the Crystal Report field size dynamically based on the paper size using C# .Net. According to the paper size, crytal report field width should be increase or decreae.
Kindly suggest any solution on this.
ThanksMoved to .NET SDK forum
See these RAS samples:
http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
Don -
Cannot insert a picture (image - BLOB) directly into a report field?
Hello
I am new to APEX and I am trying to create a table with an image together with an input form and an output report but I am having difficulty in displaying the image in the report field.
My work so far:
1 I am using APEX to generate a table with a BLOB, Filename and Last_Update_Date fields.
2 I have followed the article on the http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm.
3 The title is: 'Defining and Viewing BLOB Data in Oracle Application Express 3.1'
4 I have generated the table, form and report.
5 I have downloaded the image as an attachment and inline on the form Ok.
6 I have successfully downloaded an image on the report with the words image as a link in the report field. Note the http path is: http://glkas0892v.greenlnk.net:7777/pls/htmldbDEV/apex_util.get_blob_file?a=475&s=7094501042405784&p=3&d=1360784770040764381&i=1360783771822764369&p_pk1=123&p_pk2=&p_ck=2F17C4FBDE22B25A02026F67AB59D4F0&p_content_disposition=inline
7 I have unsuccessfully tried to insert the image directly into a report field itself. The report displays the picture as a symbol with a cross.
Note the http path is: http://glkas0892v.greenlnk.net:7777/pls/htmldbDEV/apex_util.get_blob?s=7094501042405784&a=475&c=1360779972416764351&p=2&k1=&k2=&ck=4BFA878ADD2028D2E9B127BB03F78B8D&rt=CR
7a I have reduced the size of the images to 20 by 30 pixels but no joy.
Conclusion
The only difference I can see is that in 6 the command in the path is apex_util.get_blob_file? But in 7, unsuccessful, the command in the path is apex_util.get_blob?
Please help me as there must be some one out there who has experienced the same situation.
Thanks
BrianMy colleague has found the answer. A known fault exists within APEX 3.1 in that the Blob declaration must be after the Last update declaration and then the image displays correctly on the report.
-
Inspecting report field position properties
All,
Does a way exist to inspect a report fields properties within CR script used in a formula. I know about using code withing the X+2 buttons in the layout tool, but would like to know in a formula what the position and width of any arbitrary report field in the detail band might be.
thanks,
pfThanks for responding. I need to do this at run time.
1) Suppose I had 25 columns and each was associated with a boolean report parameter that allowed the user to toggle columns off and on.
2) Further suppose the user decided that she does not need columns 7, 12, and 20.
I want to do the following:
1) suppress columns 7,12,20 (this is easy)
2) move the remaining columns 8 and greater the appropriate twips to the left.
I can do all this now but I must "hard code" the field position into a string with delimiters which I later split into an array to use in determining the x offset (if any) for each unsuppressed column. Life would be easier if one could just inspect the X position of any field. Please let me know if this helps in understanding the problem.
pf -
Hi Guys,
I am trying to find doco on report field definitions in CUIC….
Example, what exactly "Internal In Time", "External Out Time" & "Internal Out Time" actually mean???
Any help, much appreciated!!!
Cheers!Hi James,
- internal in time means the length of an internal call received by the agent (internal means the call came directly to the agent's phone, it has not been routed by a routing script);
- external out time means the length of a call initiated by the agent off switch (the call goes beyond the horizon visible by the call routing system);
- internal out time means the length of a call initiated by the agent within the same switch (for example agent calls another agent directly).
So, if agent Alice calls agent Bob directly, the Internal Out Time is increased for Alice, and the Internal In Time is increased for Bob.
If agent Alice calls her grandmother in Australia, the External Out Time is increased for her.
You might want to take a look at these documents:
Reporting Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted 8.5(3)
Database Schema Guide for Cisco Unified Contact Center Enterprise 8.5(1)
G. -
Working/Join with Two Reports field
Hey Folks,
I have read couple of post and kind of confused. I have two reports and each have their column total at the bottom(Sum).
Now on my first report i have to add my first report col1_total+second report col1_total and get my grand total.
SO, my question is how can add or call or join that second report field to my first report field and get my grand total?
I have read about Data Link Object but i wasnt sure about it. So, please give me some direction/advice. That would be greate.
ThankThankx but i never used two query to gether.
so basically, you want me to put second query and join it to gether...or...can you explain me little bit. Can you give me small step where i can get closer where you mention to use the same query.
Thanx
Maybe you are looking for
-
Our IT department spends way too much time maintaining simple reference tables that could easily be maintained by business users, if they had some simple tools that gave them limited access to only the tables they need. Looking for something other t
-
How to use the RFC's of a Model of 1 ESS appl. in other ess webdynpro Appl.
Hi All, I need to add the name and address in the overview screen of W4 ess DC, The W4 uses P0210 Model which doesnot has these name and address fields,but the address ess DC application which uses P0006 Model has name and address fields, How can i p
-
I/O error Uncorectable error with DVD drive Dv7 1211tx
I am currently having problems burning files onto my dvd rw disc. Everytime i try to burn files onto my dvd disc then verify it, it comes up with the I/O error, uncorrectable error message. Is there a way to fix this? Help greatly appreciated.
-
Project MRP - Requirement Grouping in PR
Dear Experts, Please note that I am attaching two finished goods (Material Type - FERT) in the project through network activity, on two different activity. The delivery time for the two items are different. Requirement date is one month different for
-
Issues with Elements 4.0 in Mac
I don't know what I accidentally mucked around with, but my Photoshop Elements will no longer read or save .png files, and my Save for Web option is no longer clickable. In addition, it is now taking at least twice as long to open up when I click on