Resizing of the images of a BLOB in the classic report
Hi guys, I am looking for more help on resizing images in reports.
I followed so many different tutorials & I am obviously missing something really obvious that I can't get one of the solutions to work for me. the main solution I come across is adding in the html page header
< style type = "text/css" >
.apexir_WORKSHEET_DATA td [headers = "BLOB_CONTENT"] img
{
Width: 5px;
}
< / style >
I install an instance on apex.oracle.com & have recreated the same problem I have
I was wondering if someone could take a look and let me know where I am going wrong
Workspace: DREAMFLIGHTTEST
username: Child1
Password: W3lcome1!
its for a project I'm working with a charity children I volunteer with, normally I have to pay for support and assistance, but as this is a voluntary thing I'm on my own with TI
I find using the width/height max works best to vary the sizes of images.
I added this to the CSS inline to the page - at the same time someone else seems to be try a similar thing ;-)
#report_std-report div.list - notice-call img {max-width: 200px ;}}
Tags: Database
Similar Questions
-
How to avoid the total general of the classic report when the column break is installed in the Apex
Hi all
I develop application using Oracle Apex 4.2.0.
I created the classic report Page.
That I have summarized a column by selecting the check box check sum for the column.
His shows the Grand Total.
Then I chose the columns to break to the first column.
His show the total groupwise and total as well as great as image below.
My requirement is
Need to hide total(Total:)) GroupWise or total general. I need to show any a total, not both.
How to do this?
Thank you
Su.GI
Su.GI wrote:
Hi, thanks for your response.
I use theme - productivity Application - issue 26
-Standard model
Report - report of Standart for classic report model.
The above CSS code where I want to use in the page or report or model region.
Specify a static region ID for the report area and put the following CSS rule in the CSS Inline property page:
#static-region-id .uReportStandard tr:last-child td { display: none; }
where
static-region-id
is the ID specified for the region. -
change the color of line based on the value of column 5 Apex in the classic report
Version of the apex 5.0.0.00.31
Standard universal theme
Page theme default template
Classic report
Foldable report template
Hello
I know this question has been asked several times here, but I'm working on 5 Apex and need to know the correct way to do it in this version.
I need to change the color of the text of the entire line (no background color) based on the value in one of the columns of the classic report. I have just two conditions, if the value of column = Yes, color should be red, otherwise it must be green.
I am new to jscript and css, so appreciate if someone can tell me the solution with steps.
I have already checked this link that changes the value of the column, need to do something similar to the whole line.
https://tylermuth.WordPress.com/2007/12/01/conditional-column-formatting-in-apex/
Hi coolmaddy007-Oracle,.
Here's an example set up on the apex.oracle.com according to the specifications you gave: https://apex.oracle.com/pls/apex/f?p=35467:1
Version of the apex 5.0.0.00.31
Standard universal theme
Page theme default template
Classic report
Foldable report template
Here is how it is done:
Create a dynamic action with the following specifications:
Name: Give the appropriate name
Event: After refresh
Selection type: region
Region: select your region classic report
Condition: No strings attached
Action: Run the JavaScript Code
Fire on loading the Page: Yes
Code:
$('td[headers="JOB"]').each(function() { if ( $(this).text() === 'MANAGER' ) { $(this).closest('tr').find('td').css({"color":"red"}); } if ( $(this).text() === 'SALESMAN' ) { $(this).closest('tr').find('td').css({"color":"green"}); } if ( $(this).text() === 'CLERK' ) { $(this).closest('tr').find('td').css({"color":"blue"}); } });
NOTE: Download the selector appropriate for your knowledge $('td[headers="JOB"]') case using firebug/browser development tools.
Items concerned: leave blank.
PS: Changed the example to change the color of text instead of the background color.
I hope this helps!
Kind regards
Kiran
-
Special characters in the classic report
Hello
I'm unable to display special characters in the classic report.
"For example""" is coming as ' '.
Is there a way to fix this?
It seems that use characterset "WE8ISO8859P15" is causing this issue, which is a single-byte character set and so unable to encode these characters.
Please correct me if I'm wrong.
-
I have the classic report in oracle apex
with query below
Select EMPNO, ENAME, HIREDATE, ADDRESS of emp COMM;
If the ENAME = "John".
so, I want to do any "BOLD" line and readonly/inactive. (set of rank who name John)
Thanks in advance...
Simple answer: see this blog: reports APEX: color line based on column value
Thank you
Tony Miller
Software LuvMuffin
Ruckersville, WILL -
Highlight a line in the classic report based on condition
HI all the gurus
Apex 4.1.1 using oracle 11g linux oc4j
I want to emphasize a line where #column_value #= 'Y' to keep gray others like normal report parameters.
I have a simple sql query
SELECT PK_ID, FIRST_NAME, LAST_NAME, INITIAL_REG_DATE, MAIL_DATE, BEGIN_DATE, END_DATE, END_DATE-BEGIN_DATE as "#days", BEGIN_STATUS, END_STATUS, COMMENTS, DELETE_FLAG, case when DELETE_FLAG='Y' then 'GREY' else '#f0f0f0' end DELETE_FLAG , INITIAL_REG_DATE+(END_DATE-BEGIN_DATE) "New Reg end date" FROM SOR_TRACKING_DEL where pk2_id =:P216_Detail order by mail_Date desc
I created a dynamic action
who will be the tree on load, LINK on this classic report
$("input[name=f29]").each (function () {}
var lThis = $(this);
{if (lThis.is("Y"))}
lThis.parents("tr:eq(0)").children("td").css({"background-color":"GREY"});)
} else {}
lThis.parents("tr:eq(0)").children("td").css({"background-color":"#f0f0f0"});)
}
});
But it doesn't change color as expected...
Kindly help me!
Thank you
Scott and Tom
Thank you guys for looking into this.
Pls ignore my incorrect explanation and my inexperience with jquery.
I read some blog and trying to do the same on the classic report, but all blogs, I found to this day called interactive report or tabular report, that none of them mentions classic report.
I assume that using the classic report will not be a good idea to start with. :/
I don't know if this is the proper syntax and logic to highlight the line
$(
function
(){
var
DELETE_FLAG = $(this);
If DELETE_FLAG.is("Y"))
{
DELETE_FLAG.parents("tr
").children("td").css({"background-color":"GREY"});).}});
I also created app here
http://Apex.Oracle.com/pls/Apex/f?p=35155
get out of the workspace
Tester/testing
request 35155
Thanks again.
-
Bug report? WITH the statement contained in the classic report LOV
I've defined a "list of selection with query based lov' in a column of the classic report, and if I try a clause
I get this errorwith data as (Select 4 qty from dual) select round(100/qty*(level-1)) perc, round(100/qty*(level-1)) c from data connect by level <= qty +1
WWV_FLOW_UTILITIES. ERR_LOV
ORA-06550: line 1, column 45: PLS-00428: an INTO clause in this SELECT statement
ORA-06512: at "SYS." DBMS_SYS_SQL", line 1249
ORA-06512: at "SYS." WWV_DBMS_SQL', line 930
ORA-06512: at "SYS." WWV_DBMS_SQL', line 999
ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 695
ORA-06512: at "APEX_040200.WWV_FLOW_UTILITIES", line 927 >
It is fine when I remove the WITH and put my value inside the rest of the query.
Wait?
Request Express 4.2.1.00.08I think you just need to make it clearer to the 'engine '. :)
Try this:
select perc d, c r from ( with data as (Select 4 qty from dual) select round(100/qty*(level-1)) perc, round(100/qty*(level-1)) c from data connect by level <= qty +1 )
I found that LOV analysis can be picky sometimes.
Thank you
-Jorge -
Select the line of the classic report to pass the value to another classic report on the same page
Hello
First a few details about the environment - I use the image of the last download oracle VM developer days to oracle.com. This includes DB version 12.1.0.2 and version 4.2.5.00.08 Apex. For the question although I don't know the specifics of the versions that are relevant.
What I want to do an apex page which includes an analytical section at the top, followed by a section of retail slot - a line is selected / highlighted at the top which causes the relevant lines in this summary line is displayed. Its screen basically a master-detail - however the source of these two sets of data is just a query - is not a table.
The query at the top of the page is something like
Select * summary
and the section below is
Select * from details where id = (the value of the id clicked in the summary above)
This feels like it should be really easy (and indeed, it is for the tables through the apex of master-detail Wizard) - but I can't understand when the two sets of data are the result of queries.
I can't seem to make reference to the elements of the page when it comes to a report and I think that I might need to go down a kind of dynamic route of actions and jquery, but I don't get very far very fast. I found some notes that seem similar, but nothing which does exactly what I want. The function APEX_APPLICATION to browse a table also doesn't seem to be possible for the output report that I could see (tags are not there) - what is relevant for the forms?
I hope that I have explained that quite simply.
Can anyone help?
See you soon,.
Rich
You link column can be just a null value in the sql code, if you want. Change the column and head down to the link attributes.
Text link: "Click me" (source of sql using #MY_COL columns or #)
Target: URL
URL: javascript: $s ('P1_ITEM', #ID);
Then have onChange dynamic action on P1_ITEM which updates the State. Do not forget to present the value of session state (either property right under the sql or pl/sql prior to update action report). The database needs to know the value of browser before running the query.
-
How can I get the classic report value when I click on the record?
Hi all
I have a simple classic report and I want to get the empno when I click on record. For example, when I click on record 1, and I'll go '7369', if I click on the 3 card, and I'll go '7521'. How can I do this? Please help, thanks!
Hi jane.kuang,
Jane.Kuang wrote:
Thank you very much!!! Your message is useful for me. But this javascript has something wrong. When I click on the first time, the empno appears only once, but when I click on the other record, empno appear twice, and I click on the third time, it appears three times... I'm new to JS, I don't know how to fix it. Thank you!
Use instead the dynamic action to that effect.
Here are the steps:
- Change your region classic report-> section 'Attributes'-> 'ID' static-> give an id say myempregion static
- Create a dynamic action with the following attributes:
Event: click on
Selection type: jQuery Selector
jQuery Selector:
#myempregion table.uReportStandard tbody tr
Action: Run the JavaScript Code
Code:
var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text(); alert(empno); $('#P21_X').val(empno);
Items concerned: keep it unselected
- Change once created, your dynamic action-> go to section 'Advanced'-> set 'Extended event', 'dynamic'.
This will fix the following in the code of the Para:
- The jQuery Selector used by Para to trigger the click event is bad. This will fix the multiple alerts.
- Para code won't work on loading the page, but if there are many rows in the table and pagination for the report is in place, and then when you paginate your report, it will not work. But it will work with dynamic action 'Scope of the event' the 'Dynamic' value even when you paginate the report.
- Finally, most of the dynamic interactions page must be converted to dynamic actions, this will help the maintainability of the code, instead of stacking the javascript in your page.
Kind regards
Kiran
-
Bug in the classic report based on the function?
A simple example, suppose I want a classic report in which I can change the sort field by selecting in the P1_SORTFIELD element. Apex 4.2, I was able to implement the report using the PL/SQL function
return "select ENAME, SAL from EMP by | : P1_SORTFIELD;
I can't do that in Apex 5 on my workspace apex.oracle.com. I either get a runtime error "SQL command not completed property" if I use generic column names, or 'not all variables' if parse error I do not have.
My real application use generic column names, so I am more interested in a solution to this. For example, I tried to create a report with the source
return "select ENAME from EMP by ENAME;
If I run using the generic column names I always get the runtime error "command SQL not successfully completed.
Is this a bug?
Ed Sciore
Hi Ed,
I ran your application in debug mode and displays the following error output.
show report determine column headings ...Execute Statement: select ENAME, SAL from EMP order by ename order by 1 nulls last Logging exception: Sqlerrm: ORA-00933: SQL command not properly ended Backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1445 ORA-06512: at "SYS.WWV_DBMS_SQL", line 464 ORA-06512: at "SYS.WWV_DBMS_SQL", line 475 ORA-06512: at "APEX_050000.WWV_FLOW_DYNAMIC_EXEC", line 411
See the other "order by null 1 last" that is added to your statement. This is what the origin of the problem. The additional order by is caused by the "Sortable" indicator enabled for your columns. If you disable the sort, because will work you who control in your SQL statement in the report well.
I'll take a look tomorrow, if we had a different behavior in 4.2 to automatically disable these flags and how it is actually easy to determine safe at the time of the design that your pl/sql function returns a SQL statement with an ORDER BY clause.
Concerning
Patrick
Member of the APEX development team
-
How to delete the record from the classic report?
Hi all
I am currently working in the APEX 4.2.5.
I did a classic report and I want to click on the link 'delete' to remove the record.
But how can I do this?
Thanks in advance
See this recent thread on the forum: https://community.oracle.com/thread/3687421?start=0&tstart=0
Thank you
Tony Miller
Software LuvMuffin
Ruckersville, WILL -
Functionality of the classic report checkbox column.
My requirement is
I have a classic report based on sql query in this 1st column is checkbox.
When I click on this check box, the value of the 2nd column is copied in the 4th column of the same rank.
Assume that the 2nd column value is 100 after you have clicked on the box of 100 control is copied into reports even line 4 column.
How can I do this?
You want to just copy the value of the of the sal to the text box column. Its simple javascript.
Looking at your page source I see that you call a function called spCheckChange. You use an application process in this function. Is this really necessary? The result is a heavy AJAX call.
You can simply use jQuery, if you create your report the right way i.e. add attributes to the checkbox and textbox which serve to identify which box would copy a value in what text box.
Here is a demo that I put in place.
https://Apex.Oracle.com/pls/Apex/f?p=53154:3:108154269628013:no
username: public_user
password: demo
You can take a look on how javascript code and attributes of the text box/box using your browser tools.
Kind regards
Aalami
Please check the response as helpful or correct if you find it then. Thank you!
-
Check box in the header of the classic report: select all the report Archives
Hi friends,
I use Apex 4.2 worm.
I've created a classic report and create the check box (apex_item.checkbox (1), EMPNO, 'DISABLED' tick,) in this report.
My Code
Select * from)
Select
apex_item. CheckBox (1), EMPNO, "DISABLED" tick.
"EMPNO', 'ENAME', 'JOB', 'MGR', 'HIREDATE',"SAL","COMM","DEPTNO. "
from EMP)
where)
InStr (upper ("ENAME"), upper (nvl (: P6_REPORT_SEARCH, "ENAME"))) > 0 or
InStr (upper ("JOB"), upper (nvl (: P6_REPORT_SEARCH, "JOB"))) > 0
) and
(nvl(:P6_ENAME,'0') = '0' or ENAME =: P6_ENAME) and
(nvl(:P6_JOB,'0') = '0' or JOB =: P6_JOB) and
(nvl(:P6_MANAGER,'0') = '0' or MGR =: P6_MANAGER)
and
(nvl(:P6_DEPT_NO,'0') = '0' or DEPTNO =: P6_DEPT_NO)
I need to create the checkbox in the header of the classic as tabular report where if I click in the header box then all archives should be checked.
How can I do this with classic report.
If you want to see this issue in the workspace, then you can use the workspace details below
Workspace: APEX_ISSUE
User name: [email protected]
Password: kaushik1@34
Page no.: 6
Thank you
Hi Maxence,
The above problem is solved. Please check the same.
I added the following code in the header of the first column:
NOTE: I used Carl Backstrom solution for this: Blog of Carl Backstrom: Mini check all HowTo
But this solution works only when the first column in your report / table is a checkbox.
If you have more columns rather than the first column where you want to check and uncheck all the features then follow the solution of Jeff Kemp:
I hope this helps!
Kind regards
Kiran
-
Sort a hyperlink column in the classic report
4.2.1
THM2:
Hi I have a classic report with a hyperlink column. And I need enable sorting on this. What I did is
Select '< a href = "somelink" >' | party_name | "< /a > ' party_name party_name table.
However, I just need to show the hyperlink column in the report. Couple of questions
1. How can I create party_name-based sorting logic using the updated classic sorting standard? Given that all a hyperlink names begin with < - sorting is random. I added the second party_name column an active by default sort on it, but given that the column can not be shown, is not a good way.
2. I was wondering if there is another way to sort this classic report hyperlink column as shown in the hyperlink and sorting is enabled on the report?
Thank you!
ryansun wrote:
Hi Fac586 - Yes, the requirements are not of the same report. We have several pages with the same type of aspect, however, some of them have a different feature. In this case, Yes, I too simplified it so that easier to understand. I use the hyperlinks on query sql rather that the link of the column is because we have about 5 unions in this query from different sources and each of those interviewing him, having a hypertext link and additional formatting like "BOLD", color etc, under certain conditions. Query1 will return only the party_name, the second query United would have hypertext links, the third would fat etc. The union of the request is not made to take into account this feature, but because of the nature of the data. While the apex feature works very well, the only question I hit is the hyperlink column sorting in a classic report. Where the simplified question. Individual responses, I've had have been very useful and have been applied successfully.
In this case, the request for a classic report that has column link, how to sort would work it would be on a regular character column.
Option 1 (deeply inelegant): Generate an HTML comment containing the sort at the beginning of the column value. The value must be sortable using the character comparison semantics, so dates must follow the format YYYYMMDD, numbers padded to the same length with zeros etc: Re: problem with the Date command
Option 2A: Expand the Expression HTML technique described in your previous thread (marking dynamically of columns in a "BOLD" for the highest value report) to include the tags.
Option 2b: Use the HTML Expression technique described in the previous thread to include custom data attributes and use these to add links to dynamic actions.
If this is done on several pages, and then create a view all the necessary logic and the columns which you can keep it in one place.
-
Default sort of the classic report does not seem to work
4.2.1
THM 2
I have a classic report consisting of an underlying sql with 3 unions. The columns include a party_name (varchar) and two numeric fields.
for example only select total_cost, cost_to_company, party_name, apex_item.checkbox2(1,party_id)
(
Select a.party_id, a.party_name party_name, a.cost_to_company, table a.total_cost when certain conditions
Union
Select a.party_id, a.party_name party_name, a.cost_to_company, table a.total_cost when certain conditions
Union
Select a.party_id, a.party_name party_name, a.cost_to_company, table a.total_cost when certain conditions
)
In our real-world scenario, these three applications are on different tables and different even if some elements are all the same (including the type of data, etc.), where the union
Because I need activate sorting using the report attributes. I put the tri reporting attributes such as 1 - total_cost desc, 2 - Party_name growing.
However, when we run the report, if the total_cost for different parts is 0, the sorting should be based on party_name. That does not seem to happen. It still sorts out randomly. I'm wonderingm if it's because there are trade unions and no order of in the query.
No idea how to solve this problem?
Nothing to do with unions.
It looks like it is connected to your thread previous marking dynamically of columns in a "BOLD" for the highest value report. Is it? If so, where are the links generated to conditionally and other HTML elements? They are more likely to cause sorting problems. Instead of posting question after question about one aspect of the problem after another, you get a solution much faster together by creating an example on apex.oracle.com and specifying the complete requirements.
-
Adding Tables HTML output of the classic report
Good day to all.
XE SUMMIT 4.2.5 11.2 theme 26.
Im trying to produce a classic report that looks like a Bill... Letterhead at the top and several integrated areas separate table that contain a mixture of static text and retrieved data.
No matter what I try, I can't get the embedded table borders appears... The data presents itself, and its all formatted and aligned correctly, but not of borders. Ive tried just about every report models...
The following is an example of my SQL: (obviously I would be inserting data in the tables at various points...)
Select ' < table border = "3" cellpadding = "1" cellspacing = "1" height = "134" width = "381" >
< tbody >
< b >
< td colspan = "2" style = "" text-align: center; "> < span style =" "are-size: 18px;" > invoice </span > < table > ""
< /tr >
< b >
< td >
< style p = "" left margin: 40px; "> date: < /p >"
< table >
< style td = "" text-align: center; ">"
< style p = "" margin-left: 40px; "> 23 - Sep - 2014 < /p >"
< table >
< /tr >
< b >
< td >
< style p = "" left margin: 40px; "> invoice No.: < /p >"
< table >
< style td = "" text-align: center; "> < table > 123456"
< /tr >
< / tbody >
< /table > '
of the double
I would appreciate if anyone knows how I can achieve this, (or ideas on how to create and invoice report type).
Kind regards
Richard
Richard Legge wrote:
XE SUMMIT 4.2.5 11.2 theme 26.
Page, region and report models? (Better yet, create an example on apex.oracle.com...)
Im trying to produce a classic report that looks like a Bill... Letterhead at the top and several integrated areas separate table that contain a mixture of static text and retrieved data.
I suggest that you create a custom report template (or several).
No matter what I try, I can't get the embedded table borders appears... The data presents itself, and its all formatted and aligned correctly, but not of borders. Ive tried just about every report models...
They are being replaced by CSS rules of the theme for the report model.
The following is an example of my SQL: (obviously I would be inserting data in the tables at various points...)
Select '
All of these attributes of table are obsolete and should be implemented using CSS instead (unless you need compatibility with IE6 and 7?).
I would appreciate if anyone knows how I can achieve this, (or ideas on how to create and invoice report type).
Tables (especially nested tables) may not necessarily be the way to do it in 2014. Can you put an illustration of the required provision?
Best way to get help with this would be to create the required tables in the DB with appropriate apex.oracle.com sample data and share identification information of developer comments for the workspace, so we could work on a custom report template.
Do you need to make this printable?
Maybe you are looking for
-
I try to retrieve the button drop down Firefox and can not find a way to do.
-
Set up printer M451 to deplete its color ink cartridges
My M451 color laser printer is currently set to force printing in black and white when one of its color toner cartridges falls to a very low level. Could someone tell me how to put in place to keep just print in color? This will allow me to decide
-
I installed NetExtender 7.0.196 a few years ago and it's worked ok until a few days ago. Now, seemingly the vpn to connect after some time I will be able to RDP to the server I need to access. After 30 seconds or more, it shows "an internal error has
-
NoClassDefFoundError exception (only happen on OS5, OS6)
I get an exception NoClassDefFoundError every time I try to run my application on OS5. It only happens when I am referring to a specific class (which extends from screen and stores a persistent object too). Has anyone met a NoClassDefFoundError befo
-
Was in contact with staff of tech MSFSX starting with the Deluxe version years ago especially on the Rome - Naples mission; bought the Gold version expectantly, it would solve the problem but has not solved the plane accelerates out of control coming