How to chart database search results?
I'm new to Macs and Appleworks. I want to make a graph/chart of numbers that come from summary fields of a database search. Do I somehow link the database search results to a spreadsheet? Can I put the graph on a database report page? Thanks.
Maybe this will help.
You can create a bar chart this way.
You have some summary fields to be charted, call them sum1, sum2, etc.
Create another summary field for each that you have. The basic formula will be:
LEFT("||||||||||||||||||||||||||||||||||",SUM('sum1'))
This will give a number of line characters to match the sums. Position these fields to form a chart. You can modify the font and style, etc.
There're also some variations. If your totals are large, you could divide the final parameter by something:
LEFT("||||||||||||||||||||||||||||||||||",SUM('sum1')/2)
And even multiply by something if your totals are small.
This is using the standard line character. You could also use dingbats - the "n" will give a solid square: LEFT("nnnnnnnnnnn",SUM('sum1'))
Additionally, to fill gaps between characters, you can create two chart fields for each total and overlap them.
Now, these are summary fields and so need to be on the summary part of the layout, and you must be in Page View to see.
David
Similar Messages
-
How to modify the search results of the GUI for subscribing to calendars
How to modify the search results of the GUI for subscribing to calendars
Note:
<OL>
<LI>The following information applies only to iPlanet Calendar Server 5.0
Patch 3.
<LI>All of the cases for which the XSLT changes will work have not been
verified.
<LI>The following is only an example of an XSLT customization.
</OL>
The example below shows a sample customization of the
search_for_calendars
dialog. This customization will result in the Display Name being included as
part of the search results in the GUI, which would normally show just the
calendar ID. It will render the returned calendars in the following format:
<P>
Display Name - <I>description</I>
<P>
Normally, the format would be as follows:
<P>
Calendar-ID - <I>description</I>
<P>
</A>
The example consists of the following two files:
<P>
<OL>
<LI>search_for_calendars_common.xsl
(the entire XSLT file)
<P>
<LI>diffctx.txt
(the context sensitive diff patch file,
which basically shows only the changes that need to be made)
</OL>
<P>
<HR>
</A><B>
search_for_calendars_common.xsl</B>
<?xml version="1.0" ?>
<!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
- <!--
set the output properties
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
result-ns="http://www.w3.org/TR/REC-html40">
-->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
- <!-- set the output properties
-->
<xsl:output method="html" encoding="ISO-8859-1" />
<xsl:include href="data/common.xsl" />
<xsl:include href="data/i18n.xsl" />
<xsl:include href="data/date_format.xsl" />
<xsl:include href="data/dialog_tabs.xsl" />
- <xsl:template match="/">
<xsl:apply-templates select="calendar" />
</xsl:template>
- <xsl:template match="calendar">
- <xsl:choose>
- <xsl:when test="@top='true'">
- <xsl:variable name="Frame1">
<xsl:value-of select="frame[1]" />
</xsl:variable>
- <xsl:variable name="Frame2">
<xsl:value-of select="frame[2]" />
</xsl:variable>
- <xsl:variable name="Frame3">
<xsl:value-of select="frame[3]" />
</xsl:variable>
- <xsl:variable name="tab_value">
<xsl:value-of select="@tab" />
</xsl:variable>
- <HTML>
- <HEAD>
<xsl:call-template name="contextJavascript" />
<TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
</HEAD>
- <FRAMESET border="0" frameborder="0" rows="77,*,71">
<FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" src="{$Frame1}" />
<FRAME name="main" frameborder="0" src="{$Frame2}" />
<FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" frameborder="0" src="{$Frame3}" />
</FRAMESET>
</HTML>
</xsl:when>
- <xsl:when test="@view='searchProperties'">
- <xsl:for-each select="group">
- <xsl:if test="@name='searchProperties'">
<xsl:call-template name="search_toolbar" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='main'">
- <xsl:for-each select="group">
- <xsl:if test="@name='main'">
<xsl:call-template name="main" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='button'">
- <xsl:for-each select="group">
- <xsl:if test="@name='button'">
<xsl:call-template name="button_root" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:otherwise>
- <html>
What's this view? (search_for_cals.xsl) -
<xsl:value-of select="@view" />
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
- <xsl:template name="search_toolbar">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0" onload="window.focus()">
- <FORM>
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
</xsl:attribute>
<xsl:apply-templates select="formdata" />
- <CENTER>
- <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
- <TR>
- <TD align="center">
- <TABLE border="0" cellpadding="3" cellspacing="1">
- <TR>
- <TD colspan="4">
<FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
the calendar</FONT>
</TD>
</TR>
- <TR>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="which">
<OPTION value="name;calid">name or ID</OPTION>
<OPTION value="name">name</OPTION>
<OPTION value="primaryOwner">primary owner</OPTION>
<OPTION value="calid">ID</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="how">
<OPTION value="0">contains</OPTION>
<OPTION value="1">begins with</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
<INPUT type="text" name="what" />
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <INPUT type="button" name="find" value="Find">
- <xsl:attribute name="onClick">
<xsl:value-of select="./button[@name='find']" />
</xsl:attribute>
</INPUT>
</FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>
</xsl:template>
- <xsl:template name="main">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0">
- <FORM name="form" method="post">
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:apply-templates select="formdata" />
<INPUT type="hidden" name="how" value="0" />
<INPUT type="hidden" name="which" value="name;calid" />
<INPUT type="hidden" name="what" value=" />
<INPUT type="hidden" name="selectedGroup" />
- <xsl:if test="(./calsearchresults/nomatch)">
- <!-- print no match found
-->
&nbsp;
&nbsp;
No Match Found
</xsl:if>
- <xsl:for-each select="./calsearchresults/searchresultcal">
- <P>
&nbsp;
&nbsp;
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <FONT size="{$font_size_big}" face="{$font_name}">
Owner:
<xsl:value-of select="@owner" />
<FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
</FONT>
Calendar ID:
<xsl:value-of select="@id" />
<BR />
</FONT>
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <xsl:choose>
- <xsl:when test="@subscribed='false'">
&nbsp;
&nbsp;
- <INPUT type="checkbox" name="calendar">
- <xsl:attribute name="value">
<xsl:value-of select="@name" />
</xsl:attribute>
</INPUT>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
</xsl:when>
- <xsl:otherwise>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
&nbsp;
(Subscribed)
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="string-length(@description) > 0">
&nbsp;
&nbsp;
- <FONT size="{$font_size_big}" face="{$font_name}">
<xsl:value-of select="@description" />
</FONT>
</xsl:if>
</FONT>
</FONT>
</P>
</xsl:for-each>
</FORM>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
<P>
<A HREF="#back">Back</A>
<P>
<HR>
</A>
<B>diffctx.txt</B>
Index: search_for_calendars_common.xsl
===================================================================
RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
retrieving revision 1.1.2.14
diff -c -r1.1.2.14 search_for_calendars_common.xsl
*** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
--- search_for_calendars_common.xsl 2001/03/15 23:55:19
*** 182,188 ****
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@id"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
--- 182,188 ----
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@name"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
*** 190,196 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
</xsl:when>
<xsl:otherwise>
--- 190,196 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
</xsl:when>
<xsl:otherwise>
*** 199,205 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
--- 199,205 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
<P>
<A HREF="#back">Back</A>Maybe on the Google API s page?
-
How to customize the search results window
hi,
in my search results page, i need to add a link/button for every document searched. on click of this link/ button i need to capture the document/file url and insert it into a splist.
is it possible to customize the search results window?
below is the snapshot: i need to add the link/button Add link to DB on each and every document retrieved by the crawler.
help is highly appreciated !hi
thnx for the reply. i am using the default search box in my sub site. and i am able to get the search results with the help of default search results.
but i dont know how to replace this search results web part with a content search web part, such that i can insert html link or button or jquery.
Can you pls elaborate , how can i replace the existing search results web part with the content search WP such that , the other display detals - document link, description, etc are intact-. -
Turn a text database search result into a clickable .pdf link to specific images
Hello and Good Afternoon all.
This is baffling me to no end, pretty desperate at this point.
I have a successfully implemented a search and results page from my database table 'products'. The results page displays a field from this table as products, msds, datasheet, description. I would like the msds & datasheet results to be clickable links to files in my images/pdf/msds folder or the images/pdf/datasheet folder.
The links are specific filenames such as msds-product.pdf or datasheet-product.pdf.. How can I get these links to open the exact filename that comes up in my search result? I can make it open the entire folder but I want just the specific file.
I don't write code very well - thank you for any help you can provide. CindyHi Murray - Here is the exact code in DW on the results page with file names exposed in live view. I am concerned about not properly implementing this statement - where exactly should I insert?
<form action="data_search.php" method="get" name="data_results_form" id="data_results_form">
<p> </p>
<?php do { ?>
<table width="75%" border="0" align="center" cellpadding="5" cellspacing="5" summary="MSDS & Datasheet search results page. You may click on the hyperlinks to download pdf for each document.">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td style="color: #686666">Product</td>
<td style="color: #686666">MSDS</td>
<td style="color: #686666">Datasheet</td>
<td style="color: #686666">Description</td>
</tr>
<tr>
<td style="color: #23276A; font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-style: normal; font-size: 16px;"><?php echo $row_Recordset_results['product']; ?></td>
<td style="font-size: 16px"><a href="images/pdf/msds/"".pdf"><?php echo $row_Recordset_results['msds']; ?></a></td>
<td style="font-size: 16px"><?php echo $row_Recordset_results['datasheet']; ?></td>
<td style="font-size: 16px"><?php echo $row_Recordset_results['description']; ?></td>
</tr>
</table>
<?php } while ($row_Recordset_results = mysql_fetch_assoc($Recordset_results)); ?>
</form> -
i have a master results page (aspVB) from Dreamweaver 8. have
search page from
WebAssist Database Search using advanced text search (single
search box)
question 1 - when a user hits 'enter' on the search page, all
records show,
no matter if there is any value in the search box or not. How
do you prevent
any records showing, if 'enter' is selected and the search
box is empty, and
if there is a value in the search box and 'enter' is
selected, show just the
results from the search box value?
question 2 - if more than one word is put in the search box,
such as, 'green
sol' the results show any thing with 'green' as well as
anything
with 'sol' and also anything with 'green sol'. how can you
just have the
results with 'green sol' and not 'green' or 'sol'. result
wanted is 'green
solutions' or 'green solar' or 'green sold'.
thanks for your help
jim balthropThank you for pointing out this problem. It has been fixed. (If you still see the wrong topic being linked to, try refreshing your browser. If it's still a problem, it might take a little while for the Database 11.2 documentation library to be updated on various systems worldwide. It did work just now for me.)
-
How to display the search result without reloading the whole page
HI,
I have separate fragments for Search Box to enter keyword and Search Result to display the result. Also I have different sections within the page to put these fragments. So how could I display the results without reloading the whole page.
Also if I have next button in my search result area, how could I display the search results in next page without reloading all other sections present in our page. Please let me know if any service or idoc function present such that result could be shown in search result section without reloading whole page.
Please let me know how to restrict page reload for every action within a page.
Thanks,
Ramesh
Edited by: Ramesh_Est on May 27, 2010 3:14 AM
Edited by: Ramesh_Est on May 27, 2010 8:39 PMThis is default behaviour of the template of your space. You can create a new page template and than you can create a region for the search results.
Or you can create a custom taskflow were you use the webcenter taskflows to search for the space.
Take a look at this white paper:
Extending webcenter spaces: http://www.oracle.com/technology/products/webcenter/pdf/owcs_r11_extend_spaces_wp.pdf
and this one:
Customizing site templates: http://www.oracle.com/technology/products/webcenter/pdf/owcs_ps1_site_template_wp.pdf
Edited by: Yannick.O on 13-Apr-2010 02:32 -
How To Eliminate Separate Search Results Window in iTunes 11
From my perspective (based upon how I use iTunes to create playlistsby searching for titles, listening, and selecting), the new format in iTunes 11 of showing search results in a separate window was totally unworkable. Fortunately, I found a CNET article that said how to revert to the old method. To disable the new format, and have search results show up in the body of your music library, all you need to do is this:
Click on the magnifying glass in the Search box in the uppper right corner of the iTunes screen
The first item in there is "Search Entire Library", and has a check mark next to it
Click on it to remove the check mark
That's it! Now your Search results will show up in the library itself, as it always has.
Until I found this quick fix, I was ready to trash the new iTunes and replace itI found this article with the explanation on how to find this again. In the upper right corner of itunes (only when an item is downloading) you will see a downward facing arrow inside a gray circle with a blue status bar type line below it. If you click that it will show you your downloads progress.
Link: http://www.cultofmac.com/204589/find-the-download-manager-again-in-itunes-11-os- x-tips/ -
How do you filter search results?
Hi,
We have a search button on our website that does a sitewide search, and I was wondering how you get about making it so that the search results display in date order (most recent items first). At the moment it seems to display things at random, with items as old as 2005 being listed first. Can anyone help please?
Many thanks,
TraceyI'll share my newly found work around.
I use this. I put a huge number in the resultsPerPage argument and then process the results with a JS sorting plugin like this: http://datatables.net/index
{module_searchresults,_blank,100000}
That plugin it particular is better than the built in functionality as it has better pagination and can sort columns if you display it in a table.
I have to warn you, this is not something someone can do with out good working knowledge of HTML & JS/Jquery. -
I am using Adobe Reader 11. I am having a problem with searching PDF documents. In the past the search results were highlighted in yellow. Now I occasionally get a large blue box on the left side of the document that covers several lines and it is very difficult to find the word being searched. I am told that this is caused by the program that created the PDF and there is nothing I can do to change process so that all of the search results are shown in yellow highlights. Any suggestions for how to change the search options so that the results are shown in yellow highlights?
As far as I remember that's how Reader always worked, and it's not related to the way the PDF file was created.
Are you sure you were using Reader before? -
How can I play search results on iPhone 5?
Let's say I want to listen to all my songs called "Summertime" with the iPod app of my iPhone. I go to "Songs" and search for "summertime". I get a list of results. But if I tap to play, it only plays one song. I want to play the whole search results.
(Tapping "next" will only jump to the next song in the global index, or on the same album -- not in the search results).
Note that iTunes does this just fine: you can filter and play.
I don't want to create a playlist each time I am searching for a few songs.
Thanks for any suggestion!Are you asking how to stop the preview from showing on the screen? Settings>Notifications>Messages
-
How to customise OID search results page
How do you customise the user search results page in OID 902?
The default is for the username and email address to display. I wish the first and last names also to display.
Regards,
JohnI am also looking to customize the people portlet. I have raised a TAR with Oracle. If I get a repsonse I will post it here.
-
OIM: How to change user search results table?
Hello,
My customer wants to change the search results table to add/delete columns or move around the existing columns. Is there a way to configure or customize this? If so how? Please let me know.
ThanksThis jsp uses the table generator.jsp which shows the data in the form of table. You have to make your own action class to do this after extending their class (provided by oracle) tcSearchUserAction.java and you can show data as per your client requirement.
-
How to get webui search result only a group data?
Dear Friends,
In BP_HEAD we have enhanced with custom logic. we are registering group of customers under field bu_group in but000. component BP_HEAD_SEARCH we are getting all the data in BUT000. how to show only group data under field bu_group in search result.
Thanks & Regards
DevaHello Thomas,
I need to make data searched only created by the user. how to make BUT000-CRUSER default in background in Search.
I have used the below insert, but the search options are been effected which are in display,
CALL METHOD Lv_QS->INSERT_SELECTION_PARAM
EXPORTING
IV_INDEX = '1'
IV_ATTR_NAME = 'CREATION_USER'
IV_SIGN = 'I'
IV_OPTION = 'EQ'
IV_LOW = sy-uname
Thank and Regards
Deva -
How do I display search results in a new window?
Our current search feature (http://mainedreamvacation.businesscatalyst.com/business-search) displays the search results in the same page. When someone clicks to see the details page, the goes "back" the browser displays an alert asking the user if they want to re-submit the form.
Is there a way for the search results to display in a new window? My hope is that by loading results into a new window, a user could click to see the detail, then return without the alert message.
I'm open to simply suppressing the alert message, but I don't think that's possible.
I should point out that this is NOT a site search. Also, I have tried {module_webappsresults,,_blank} without success.
Thanks!Hi Tim,
The approach would be similar to customizing this for normal site search.
You'll need to locate the page where you inserted the web app search access the html and locate the pageID in the form action. Use the same method found in the site search to apply the specific page.
- http://helpx.adobe.com/business-catalyst/partner/add-search-form.html> Point to the results page
**Ensure you please the {module_webappsresults} on the custom page to have the content display as well.
Kind regards,
-Sidney -
How to regain the search result
Hi,
In a BTF I am having a search screen and a BTF1. In the search screen I am using af:query and table component. I have put one button(View) at the toolbar of the table which will invoke the BTF1. Once query will be performed and result will be retried, user will select a row from table and click on the View, it will navigate to the BTF1 and in the BTF1 we have a return activity, once use will return to the search screen only selected row will be visible, rest all search result will vanish. Here use case is when user will return from a BTF1 it should see the exact search result. Is there any declarative way to achieve it?.
JDEv : 11.1.1.6
Thnx & Rgds,
Alok
Edited by: 942248 on Oct 18, 2012 4:33 AMI have used different instance of view object and it worked.
Maybe you are looking for
-
What is the best practice for timezones on routers and switches? Should I make them all the same, say EST? Since this is where all the management servers reside or should they be set to where they are located? Should I be using GMT/UTC time? Comme
-
MAX doesn't show the installed IMAQ card 1422,1424,​1428
After successfully installing the IMAQ cards 1428, 1424 and 1422 in the PC, they doesn't appear in either MAX or VIsion builder. I checked with other PCs and other slots but it is the same case in every PC. In the device manager, the card is shown as
-
Hi I'm sure there is an answer to this already but here we go. I'm new to creating PDF form. All I want to do is create a form that i send to our contacts they complete it and send it back as a completed form. At the moment I'm getting an XML file ba
-
I am importing an image (GIF) with transparency properties as a drop zone. How do i make the background of this image transparent. This image serves no purpose other than just being an image. It is not a button or has any associated actions. Please h
-
I am attempting to run a perl script that creates RSS feeds of iTunes playlists that are compatible with the PSP gaming system from sony. The guy who released the script provided a lite webserver for windows, but just the perl script for Mac OS. I ha