Dynamic displaying fileds of a record
hi, i am doing a jsp app. user can register personal infomation into database. he can also customized which field of his own reocrd will be displayed. how can do that?
Post Author: hamish_sco
CA Forum: Formula
If I understand you right you are creating a sum of the record field (using the Insert> Summary method?) which will not let you drag the summary field into the header? Create a formula manually to do the same thing. something similar to;Sum () This can be dragged anywhere on the report. Hopefully this should solve the problem.CheersHamish
Similar Messages
-
Dynamically displaying a new region (row?) based on immediate user input
Whew, figuring out a title was almost as hard as trying to explain what I want to do!
Okay, a little background first.
My app has 178 main data fields, spread across about 35 tables. The users want to be able to search any and all data fields. So, I wrote a PL/SQL package that for each master record, loops through all of the child tables and creates (more or less) an XML file for each master record (which I store in a CLOB field). When any data in any table is changed, a trigger fires to re-update that CLOB field as well. I then used Oracle Text to create an index on the CLOB field, and now the users can search across all of the available information for each master record and get a list of which records contained what they were looking for.
So here's the first part of the problem. The app is a Mineral Occurence database for all mineral information world-wide. Say they enter "Brazil" as what they want to search for, they not only retreive all of the mineral sites in Brazil, but also all of the sites where one of the mining companies may be based in Brazil, or Brazil is one of the comments, etc. While this is the expected behaviour, it's still not quite what they expected (but they also don't want to get rid of this behaviour either).
So, since the CLOB field is already formatted with XML-type tags, what I want to do is to have an Advanced Search page, where the user can specify the table name to search, or the field name, or both. What I'd like to do is at the end of each line, have a select list with an "AND" or "OR' box, and if that gets a value, then dynamically create another 'row' underneath the first row, with the same three 'boxes' (actually select lists), and continue on until the user has specified exactly what they want to search for.
I would rather not have to create a whole bunch of regions or rows, and then determine at runtime whether or not to display them.
So i would have (using underscores as the boxes/fields):
Table to Search Field to Search And/Or
______________ _____________ _______Each of the above would be a select list.
Anybody have ideas on how I can accomplish this? Any Javascript or AJAX-type solutions that a dummy like me can easily implement? I've seen something almost similar on Carl's example pages to Hide/Show a region(?), but understanding the underlying code and then modifying it for what I want to do is extremely complicated (for me) at best.
Thanks.
Bill FergusonWell, after searching through the QBE results (even some of mine), the only thing that comes close is Earl's (http://htmldb.oracle.com/pls/otn/f?p=36337:14). Actually his layout is almost perfect and pretty identical to what I want/need. Vikas' example seems like what I've toyed with on some other pages in my app, using a simple UNION ALL with nulled fields in the select statement, which won't work for what I need, at least I can't seem to visualize how I could incorporate that same code logic.
However, unlike Earl's, when/if the last column (which I'd have as the 'AND/OR' select list) is populated, I'd like to dynamically display another new row.
Now I know I could do it by making the last column a 'Select List With Submit', but that would neccessitate my creating about 25 regions (to hopefully cover the max any of the users would ever need), and then conditionally display the region based on whether or not the previous 'AND/OR' condition field was populated. It would also require a whole slew of page refreshes, which is clunky.
It seems like there should probably be a way with AJAX to accomplish something similar. I think I remember seeing something along these lines in the last year or so on here, but I can't find it.
Something like a cross-breed of Earl's example page above mixed with Carl's example at http://htmldb.oracle.com/pls/otn/f?p=11933:39:4740898821262791902::NO:RP:: which would automatically fire on the poplulation of the last select list is probably the best I can accomplish, unless somebody has some better ideas on how to do this. Using Carl's htmldb_remix code, I can avoid all the submits and the resulting page refreshes, but the code itself will take an old dummy like me a while to figure out.
Thanks for the ideas though.
Bill Ferguson -
Using Azul media player app on my ipad Apple tv will only display sound but not video from movies. Any ideas on a fix. I set mirroring to on but it still does not display video. It will display photos and video recorded from my iphone.
Here are the steps for AirPlay:
Before starting Azul from your (running iOS 5.x/6.x) home screen where have have all your apps we need to turn on mirroring
On your iPhone 4S/5 or iPad 2 or 3, double-click the Home Button to view your recently-used apps.
Swipe all the way to the right to until you see the icon.
Note: If the icon does not appear, go to the "If AirPlay Mirroring is not visible or available on your mobile iOS device" section.
Tap the icon to see the list of available AirPlay devices.
Enable AirPlay Mirroring in this menu by tapping on an available Apple TV, then sliding the Mirroring slider to ON.
Now you should be seeing your iPad/iPhone on your TV.
Start up Azul now and using the settings icon on the top right corner go to the option that say "TV out" ON.
When you do that you will see an Orange screen
Now click "Done" and play the video you want to watch and it will AirPlay -
Dynamic display name of the sender
I have requirement like below:
After creating and executing any Agent/iBOt in OBIEE 11g, the Display Name of the Sender in the From address of email delivered to recipients is showing as "Administrator".
The user who is authenticated and authorized into the OBIEE also created an agent, he is asking that email should show his name in the From Address when it is delivered to the recipients.
I know why this is happening, I have provided the Display Name of Sender as "Administrator" while configuring the Agents at the Enterprise Manager Level.
What I am currently looking is, if there is any alternate solution to Dynamically display the name of the user who creates the Agent in the From address of the email when it is delivered to the recipients.
Thanks in advance
-BharathAny body there with the answers !!
-
How to dynamically display .flv files in website
I'm using a JSP for my interface.?? In the webpage, I want to pass a java variable, which holds the url to the video that was retrieved from the database, to the flash player script to dynamically determine which video to play.?? For example, this code in the page will play a movie successfully:
<td><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','widt h','706','height','633','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_Co mponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPlay=true&autoRewind= false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage',' http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','FLVPlayer_Progressive' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="706" height="633" id="FLVPlayer">
?????????????????????????????? <param name="movie" value="FLVPlayer_Progressive.swf" />
?????????????????????????????? <param name="salign" value="lt" />
?????????????????????????????? <param name="quality" value="high" />
?????????????????????????????? <param name="scale" value="noscale" />
?????????????????????????????? <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPlay=tr ue&autoRewind=false" />
?????????????????????????????? <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video1_1&autoPla y=true&autoRewind=false" quality="high" scale="noscale" width="706" height="633" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />??????????????????????????
</object></noscript></td>
But this code will not play the movie successfully:
<td><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','widt h','706','height','633','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','<%= flashVars %>','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','FLVPlayer_Progressive' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="706" height="633" id="FLVPlayer">
?????????????????????????????? <param name="movie" value="FLVPlayer_Progressive.swf" />
?????????????????????????????? <param name="salign" value="lt" />
?????????????????????????????? <param name="quality" value="high" />
?????????????????????????????? <param name="scale" value="noscale" />
?????????????????????????????? <param name="FlashVars" value="<%= flashVars %>" />
?????????????????????????????? <embed src="FLVPlayer_Progressive.swf" flashvars="<%= flashVars %>" quality="high" scale="noscale" width="706" height="633" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />??????????????????????????
</object></noscript></td>
The only difference in the two is that in the second, I use a java variable to set the flash Variables. The variable I use is <%= flashVars %>?? which is equal to: &MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=movies/Video2&autoPlay=false&autoRe wind=false
When I view the resulting page source code after building and running the site, The source code is exactly the same for both of them yet one works and one doesn't.?? Any help would be greatly appreciated!I've been searching google all day to figure this one out. I'm not simply trying to play a video, I can already do that... I'm retrieving the location of the video from the database and trying to pass it as an argument to the player, no different than if I was dynamically displaying an image or some text. For some reason I'm not able to do this.
-
Not able to display more than 65k records in Bex report.
Hi Experts,
I have requirement for the Bex report to display more than 65k records..
Please help me on this.. i am feed up of get proper update for this..
Its urgent.. pls help on thisHi,
The Excel 2007 have a limit of 1,048,576 rows, unfortunately SAP cannot export more than 65.536 rows that is an exiting limitation exporting to Excel files.
The note 700206 explains the MAX Size Limit for XXL Export, and it's
not possible to increase this limit. XXL Export is generic export
utility to export the list object from SAP to Excel and it cannot
work differently for different Excel releases.
I would emphasizes the purpose of BEx Analyzer: it is not a tool for the
mass extraction of data, but it is a viewer/navigator tool for data.
For huge exports like the one mentioned SAP offers Open Hub as a 3rd
party tool. You can have more details in the url below:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.
docs/library/icc/BW-OHS%20Open%20Hub%20Service%2c%20Third-party%20
Integration.pdf
Thanks,
Venkat -
How to display a select query record in a tool tip?
hi,
How to display a select query record in a tool tip?
for example i have a report employee. when i move the mouse pointer over a employee name, the tool tip should display the respective department id, department name...of that employee name.
select dep_id, dep_name ....from department where employee.....Is it possible?
thanksDear Skud,
Yes its possible..select ''||ename||'' from emp
other wise you can use jQuery tooptip or some other JScript bundles.
Thanks and Regards
Maheswara -
Displaying a set of records using jstl
hi i am new to jstl.my requirement is i want to display a set of records from my database using jstl.for eg i want to display 50 records per page and i want to navigate to other records using next and prevoius buttons and i need to put view and edit buttons in that page.can anybody give me a solution for this.urgent
You may try the paging taglib ...
http://www.servletsuite.com/servlets/pagertag.htm -
Query in SQL to display count of all records but where condition is present
Hi All,
I have situation where I need to display count of all records all particular period but in where condition type condition has to be present :
Please find the below sample data :
PERIOD_ID TYPE MV_COUNT IS_FLAG
20110401 AM 1 0
20110401 AM 1 0
20110401 MS 29 0
20110501 MS 1 0
20110601 MS 14 0
20110701 MS 2 0
20110401 MS 1 0
20110401 AM 2 0
20110401 AM 69 0
20110401 AM 2 0
finally I need for type = MS
i) total is_flag count for all the periods
ii) for period=20110501 what is the mv_count
I need to use the table single time (ie not self join outer joins )
I have tried to use partition by clause but it will filter out the data .
Cheers,
Sp842106 wrote:
finally I need for type = MS
i) total is_flag count for all the periods
ii) for period=20110501 what is the mv_count
I need to use the table single time (ie not self join outer joins )
I have tried to use partition by clause but it will filter out the data .
select sum(is_flag) is_flg_count,
sum
case when period = 20110501 then mv_count else 0 end
) mv_cnt_for_20110501
from your_table
where type = 'MS'; -
Dynamic display of the Company Name based on Org
Hello All,
I need to dynamically display the Company name based on the Org_id and the ORG is not being populated in the XML data file. How do i achieve this,please let me know.
Thanks
RakeshRakesh,
It's like getting something from nothing (data template)... If you do not want to modify your report, then Vetri's option will be fine(your going to add not modify)...
Or,. define a new Oracle report based on the seeded one then do modify...
regards,
Rownald -
Display lines first 10 records field1 next 10 records field2
HI
i have an issue in oracle reports.
i need to display the first 10 records in field1 next 10 record field2
please give me a idea my mail id is [email protected]
Regards,
KamarajIn OBIEE 10g, within the 'table view properties' options (second icon from left in the edit table screen) you will see an option for rows per page. Set this to 10 and the arrows should appear.
It can be quite hard to find the screen in question. From the pivot table builder screen, click the big round icon to the left of 'compound layout' drop down. Then you need to click the 'Edit View' icon in the header of the table. Finally you can then click the 'table view properties' icon, second left.
Good luck,
Paul -
Displaying latest top 5 records...
Hi
I want to display top 5 sales records at BEx level to the newly loaded data.
Info objects are plan, date, sales currency etc..
Data can be loading and BEx report execution can be done on daily basis.
The report should display top 5 sales records of latest data load when the report is executed.
SanthoshHi
Refer Below Blog in SCN Posted By AL. Here He Explained in Detail how to Handle this Kind of scenarios.
How to show First and Latest Record at BEx Level
Regards,
Seshu.P -
Dynamically displaying multi parameters values
Hi,
I'm newbie to this framework and I have successfully
implemented some of the demos posted in this site. BTW, kudos to
all who contributed all those demos.
Well, I after trying most of the demos, I am trying to
implemented .... dynamically displaying content from the xml file
when users click on multiple choices. Let say, I have the check
boxes for the following option:
Subjects: [ ] Math [ ] Biology [ ] Computer Science and so
on.
So when the users click on these checkboxes, it will display
books related to the selected subject/s.
If anybody have implemented similar functionality, can you
please give me an idea/suggestion? Any help will be appericated.
Cheers,
njHi all,
I have been trying to implement "Multiple filter" (
http://labs.adobe.com/technologies/spry/samples/data_region/MultipleFiltersModeSample.html )
using more dymanic approach however, it is not working correctly.
Here is my code .... can you plz give any suggestion handling this
issue?
<?xml version="1.0" encoding="utf-8"?>
<books xmlns="
http://www.books.com/books">
<subjects>
<list>Math</list>
<list>Biology</list>
<list>Economices</list>
<list>English</list>
<list>Physices</list>
<list>History</list>
</subjects>
<book>
<title>Intro to Biology</title>
<subject>Biology</subject>
<desc>Introduction to Human Biology</desc>
</book>
<book>
<title>Intro to Geometry</title>
<subject>Math</subject>
<desc>Introduction to Elementry Geometry</desc>
</book>
<book>
<title>Calculus I</title>
<subject>Math</subject>
<desc>Introduction to Elementry Calculus</desc>
</book>
<book>
<title>Physices III</title>
<subject>Physices</subject>
<desc>Advanced physices, Newton's laws</desc>
</book>
<book>
<title>19th Century Americam History</title>
<subject>History</subject>
<desc>Introduction to 19th century American
History</desc>
</book>
<book>
<title>Intro to Biology II</title>
<subject>Biology</subject>
<desc>Introduction to Human Biology</desc>
</book>
<book>
<title>Intro to Biology III</title>
<subject>Biology</subject>
<desc>Introduction to Human Biology</desc>
</book>
<book>
<title>Intro to Biology IV</title>
<subject>Biology</subject>
<desc>Introduction to Human Biology</desc>
</book>
</books>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Testing</title>
<!--
Spry Framework
***************************************************** -->
<script type="text/javascript"
src="js/spry/xpath.js"></script>
<script type="text/javascript"
src="js/spry/SpryData.js"></script>
<script type="text/javascript"
src="js/spry/SpryDataExtensions.js"></script>
<script type="text/javascript">
<!--
var subjectname;
var dsSubjectFilter = new
Spry.Data.XMLDataSet("xml/books.xml", "/books/book", { subPaths:
"subject" });
var dsSubjectList = new
Spry.Data.XMLDataSet("xml/books.xml", "books/subjects, {subPaths:
"list", sortOnLoad: "list"});
function filterParameter(ds, row, index){return (row.subject
== subjectname)? row : null;};
function ToggleFilter(enable, filterParameter, name) {
//alert("name : " + name);
subjectname=name;
if(enable)
dsSubjectFilter.addFilter(filterParameter, true);
else
dsSubjectFilter.removeFilter(filterParameter, true);
dsSubjectFilter.setFilterMode("or", true);
//-->
</script>
<!-- ***************** END of Spry
*********************** -->
</head>
<body>
<div spry:state="ready">
<div spry:region="dsSubjectList">
<form action="">
<ul>
<h4>Subject</h4>
<li spry:repeat="dsSubjectList"> <input
type="checkbox" value="" onclick="ToggleFilter(this.checked,
filterParameter,
'{dsSubjectList::list}');"/>{dsSubjectList::list}</li>
</ul>
</form>
</div>
<div spry:region="dsSubjectFilter">
<p> Count = {dsMissionFilter::ds_RowCount}</p>
<div spry:repeat="dsSubjectFilter">
<h4>{dsSubjectFilter::ds_RowNumberPlus1}. {dsSubjectFilter::title}</h4>
<p> {dsSubjectFilter::subject}</p>
<p> {dsSubjectFilter::desc}</p>
</div>
</div>
</div> <!-- *** END of spry:state="ready"
*****-->
</body>
</html>
Basically, firstly it creates the checkboxes with the diff
subjects to select. Once we start selecting those subjects, it shld
start displaying the related books with titles, subject and
description. However, the "or" doesn't seems to work .... any
suggestion will be appericated.
Cheers,
nj -
Problem in ALV during Filter for display of no. of records on header
Hi
In one of the ALV report I am using FM: 'reuse_alv_grid_display' by passing the final internal table t_final. Also I am using the FM: 'reuse_alv_commentary_write' for header and displaying the No. of records by describing the t_final internal table.
If the user does Filtering in the ALV output and displays the filtered records, the no. of records count is not getting changed and showing up the total no. of records that displayed originally. How can I display the No. of records that are filtered in the header after filtering in ALV output. I appreciate if any one throw light to resolve this problem.
Thanks
Usha
Edited by: usha k on Jan 16, 2008 3:20 PM
Edited by: usha k on Jan 16, 2008 3:21 PMHi Usha, check this,
I am using REUSE_ALV_LIST_DISPLAY to display a report. The sample report as below :
Matnr qty1 qty2
1234 1.00 0.00
ABCD 0.00 0.00
5678 0.00 1.00
After display of the report, user wants to filter on the quantity fields where qty1 = 0.00 AND qty2 = 0.00.
User will execute the report. Output is displayed. Then user clicks on qty1 and qty2 field heading. Then user clicks on filter (funnel) button. Then a small popup will appear which will display two filter fields qty1 and qty2. Then user will enter filter criteria for qty1/qty2 columns as :
qty1 = 0.00 (here '=' symbol is in red meaning 'exclude' the rows having zeroes
in qty1 column)
qty2 = 0.00 (here '=' symbol is in red meaning 'exclude' the rows having zeroes
in qty2 column)
Once the user presses the enter button of this popup window, the filter criteria is applied and the whole report is becoming empty. Because in the above example all the three rows are having the zeroes in qty1 or qty2 columns. So logically the filter criteria applied was qty1 = 0.00 OR qty2 = 0.00
The expected output after applying the filter was just one row like below because both qty1 and qty2 are having zeroes. Logically the filter criteria applied should have been qty1 = 0.00 AND qty2 = 0.00
Matnr qty1 qty2
ABCD 0.00 0.00
cheers,
Hema. -
Multiple display formats for several records coming from the same table
Hello all,
I want to create one Crystal Reports XI report to display several records coming from one table, but I need different display format for different records from that one table.
There is a field RecordType and based on that value, the record will be displayed differently on the report page.
Can I have several sections in the report and to define different SQL query in each of them?
Example of the report I need to see on paper:
================================================
Summary of 216 vehicles: (the value 216 comes from record with RecordType=1)
Vehicle Category Number of Vehicles
A 5 (this value 5 comes from record with RecordType=2)
B 7 (this value 7 comes from record with RecordType=3)
D 4 (this value 4 comes from record with RecordType=4)
Category A vehicle numbers:
2345 6789 8765 5543 3452 (these five values come from records with RecordType=5)
Category B vehicle numbers:
9876 8876 9987 4321 6754 5215 4543 (these values come from records with RecordType=6)
Category D vehicle numbers:
2343 2344 2348 2377 (these values come from records with RecordType=8)
==============================================================
Text is fixed (labels), number values are coming from table records.
What would be a good way to do this in Crystal Reports XI ? In Cognos ReportNet, I would just create several Queries (SQL sentences) and place their outputs on a page, one after the other.
I use Crystal Reports XI R2 and Oracle 10g database through and ODBC connection.
Thank you,
MilanObaid and Debi,
Thank you for your replies.
I can create multiple sections in the report, but I don't know how to split the 20 records that I get back from the database to be displayed in 5 different report sections.
How can I define different SQL statement for each of 5 report sections?
How can I use cross-tabs to display what I need? Can I define SQL statement for each cross-tab and then I could place only RecordType=1 records into cross-tab-1 and all RecordType=2 records into cross-tab-2 ?
In Cognos ReportNet, I defined 2 Queries (SQL statements) and I just placed them in the report one below the other. Query_1 returns 1 record where RecordType value =1. Query_2 returns 5 records where RecordType value =2 and etc. So each record "section" displays record in the way I want it.
================================
Summary of 216 vehicles: (the value 216 comes from record where RecordType=1)
Category A vehicle numbers:
2345 6789 8765 5543 3452 (these values come from records where RecordType=2)
================================
How can I do that in Crystal Reports XI ?
How can I run several SQL statements from one report?
Thank you,
Milan
Maybe you are looking for
-
Hi...... When i am running standard report MB5B to calculatte opening stock and closing stock on the output screen i am getting one table with no data selected and the below screen shot of that MB5B report is attached in this discussion please go thr
-
Download attachment in Mail application is super slow
Whenever I download attachment from an email in Mail application, it super slow. It's 10 times slower than when I download the same attachment from Safari. So it means not because of the internet speed. I don't know you guys have the same problem lik
-
When trying to open a downloaded PDF it now asks me if I want to open in protect mode then it will not open the PDF and asks if I want to open in protect mode? This never has happened before. I tried downloading Reader again but it does not correct t
-
What Mac app will work with Newsstand
I run a small stable of Macs, currently limited to 2 iMacs, 1 iPad3 and an iPhone. I like Newsstand on the iPad, however I would love to use the Cloud to allow all my current Apple products to use the info in Newsstand and to share items from the Ma
-
GR unit value coming from the Invoice
I have the following situation: PO 100 units price 3,14 u20AC/unit IR: 1 unit at a price of 314 u20AC/unit GR: Post GR for 100 units and the system is generating the accounting doc. for a value of 624,86 u20AC, that comes from - 1 unit at the price o