Cfdocument printable page - but need to retain query results...

hi all,
I have a page which outputs my query, the query is sortable
so the user can filter the results. On that page I have a link to
an identical page but containing the cfdocument tag creating a
flashpaper version for printing.. because the page with the
cfdocument tag contains the query also, it automatically runs the
query again getting rid of any filtering peformed on page 1 - I
guess what i'm asking is, how can my print link open the page with
the cfdocument tag but retain the results of the first page if
someone has filtered it...?
Am i making sense?
using CF7/SQl/DMX2004
many thanks for help in advance

It is alot to swallow, I always get a headache when working
on this application!
ok, thanks for all of that - I shall have to work on it again
tmrw as I am coming to the end of my working day, but two things
1) do you have an example of code for passing the hidden
fields
2) on page 2, what would stop that query from running again?
(is that the code you posted earlier) see below
<!--- assume the name of this page is myPage.cfm --->
<CFIF ListLast(CGI.CF_TEMPLATE_PATH, "\") IS
"myPage.cfm">
Don't do the query
<CFELSE>
This is the first time on this page - do the query
</CFIF>

Similar Messages

  • PDF document not full page but need to print it as a full page

    Hi,
    I have a pdf document which is 15 cm by 8 cm and need to print it as a full page without the white border making up the full page. How can I do this?
    The document was created in publisher and saved as a pdf.
    I am reading the document from Adobe Reader on a Windows XP machine.
    Thank you for any help any one can give.

    Do you have a printer that can print pages without a white border?
    Very few printers can do this.
    Aandi Inston

  • How do I upload my resume when it's saved in Pages but needs to be send as a PDF or word file?

    How do I upload a document that has been created using pages as a PDF or Word file? When I attempt to upload it, the only choices I get are choices from my camera!!

    Tap on the wrench/spanner in the upper right of the document & then "Share & Print." You can then e-mail the document but I'm not sure how to upload to a web site from an iPad.

  • Need to write query results to .xls file

    Hi All,
    My requirement is ,when i run a query from sqlplus the results should be copied to a excel sheet.But i am not able to generate the file in the correct format.Could some body please help on this..
    Thanks in advance
    Thanks
    [email protected]

    Could some body please help on this..I am sorry to see that GOOGLE, SEARCH & HELP are broken for you.
    Please be patient while repairs are completed.
    Additional information will be posted when it becomes available.

  • Display image in report page but just a link if file is not an image

    Hello,
    I've been working on displaying an image in a report page but need to add some logic.
    I would like to be able to call the image using a Region Source of type SQL instead of the HTML Expression. The reason for this is because I need to use logic to determine if the file is an image or not and to determine wether to show a thumbnail or just a link. I did find a "GET_BLOB_FILE_SRC" Function on the internet that suggests that I could do this but I need some help in making it work in my application.
    Here it is as a Region Source of type SQL:
    SELECT ID,
    NAME,
    CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
    THEN NULL
    ELSE CASE WHEN attach_mimetype like 'image%'
    THEN '<img
    src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
    ELSE '<a
    href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
    end
    END new_img
    FROM TEST_WITH_BLOB
    If anyone can help me with this that would be appreciated.
    Thanks
    LEH

    John,
    The problem is that I do not know how to use the "GET_BLOB_FILE_SRC Function". I never got it to work but the HTML Expression did work for me. If you know how the GET_BLOB_FILE_SRC Function works then that would be helpful. I don't think it would be helpful if I posted my example on apex.oracle.com. But here is the information I have on the GET_BLOB_FILE_SRC Function.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    GET_BLOB_FILE_SRC Function
    As an alternative to using the built-in methods of providing a download link, you can use the APEX_UTIL.GET_BLOB_FILE_SRC function. One advantage of this approach, is the ability to more specifically format the display of the image (with height and width tags). Please note that this approach is only valid if called from a valid Oracle Application Express session. Also, this method requires that the parameters that describe the BLOB to be listed as the format of a valid item within the application. That item is then referenced by the function.
    See Also:
    "About BLOB Support in Forms and Reports" in Oracle Application Express Application Builder User's Guide
    Syntax
    FUNCTION GET_BLOB_FILE_SRC (
        p_item_name           IN VARCHAR2 DEFAULT NULL,
        p_v1                  IN VARCHAR2 DEFAULT NULL,
        p_v2                  IN VARCHAR2 DEFAULT NULL,
        p_content_disposition IN VARCHAR2 DEFAULT NULL)
        RETURN VARCHAR2
    Parameters
    Table 1-28 describes the parameters available in GET_BLOB_FILE_SRC function.
    Table 1-28 GET_BLOB_FILE_SRC Parameters
    Parameter Description
    p_item_name
    Name of valid application page ITEM that with type FILE that contains the source type of DB column.
    p_v1
    Value of primary key column 1.
    p_v2
    Value of primary key column 2.
    p_content_disposition
    Specify inline or attachment, all other values ignored
    Example
    As a PLSQL Function Body:
    RETURN '<img src="'||APEX_UTIL.GET_BLOB_FILE_SRC('P2_ATTACHMENT',:P2_EMPNO)||'" />';
    As a Region Source of type SQL:
    SELECT ID,
           NAME,
           CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
                THEN NULL
                ELSE CASE WHEN attach_mimetype like 'image%'
                          THEN '<img
    src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
                          ELSE '<a
    href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
                          end
            END new_img
       FROM TEST_WITH_BLOB
    The previous example illustrates how to display the BLOB within the report, if it can be displayed, and provide a download link, if it cannot be displayed.Thanks
    LEH

  • ADF: Printable page is not showing all the data

    Hi Everyone,
    I am using Jdev 11G.
    I have one ADF page with Read Only Table.The table has 14 columns.
    I have Print button at the bottom of the page. When i click on print button my page is converted to Printable page but it is showing only 10 columns.(so im unable to print all the data in the table)
    How can i make it to show all the columns in the table in printable page?
    Plz help.
    Any suggestions will be really grateful.
    Thanks.

    Hi Arun,
    In the following code: public SelectItem[] getAllPrinters() {
    if (allPrinters == null) {           // allPrinters is not defined. what type of object it is
    PrintService[] printers = PrintServiceLookup.lookupPrintServices(null, null);
    allPrinters = new SelectItem[printers.length];
    for (int i = 0; i < printers.length; i++) {
    SelectItem printer =
    new SelectItem(printers.getName(), printers[i].getName());
    allPrinters[i] = printer;
    return allPrinters;;;
    Variable allPrinters is not defined. what type of object it is?
    And also the same variable is referenced here <af:selectOneChoice label="Available Printers" partialTriggers="cb1"
    value="#{pageFlowScope.applicationPrinterBean.selectedPrinter}"
    id="soc1"
    autoSubmit="true">
    <f:selectItems value="#{pageFlowScope.applicationPrinterBean.allPrinters}" id="si1"/>
    </af:selectOneChoice>.
    Thanks.

  • Logo in a printable page.

    Hello,
    I created a printable page in OAF custom page using the below code in the button's "Destination URL" property.
    OA.jsp?page=/xx/oracle/apps/per/selfservice/offier/webui/OfficePG&retainAM=Y&OARF=printable
    This brings up a printable page but i don't see the logo(which is at top left corner) in this printable page. Is there any way i can also put a logo in the printable page?
    Thanks in advance.
    -KK

    I had to create an itemtype of Image inside one of the page layouts and add the image instead of using the standard corporateBranding image to solve this issue.

  • I prepare chronologies in word, and i am trying to do the same in pages using tables and cells. But somtimes i need a cell to wrap onto the next page but I can't work out how to do it - any suggestions would be greatly appreciated

    I prepare chronologies in word, and I am trying to do the same in pages using tables and cells. But sometimes I need a cell to wrap onto the next page because the contents are bigger than the page or the space left on the page,  but I can't work out how to do it - any suggestions would be greatly appreciated

    brendanfromsydney wrote:
    What are the different opinions on why pages should not achieve this?
    As far as I know, Apple is free to choose to offer this or that feature.
    They never said that they want to clone Word or even compete with it.
    Differences between tables in both worlds are numerous.
    In Pages (or Numbers)
    - we can't sort a single column
    - we can't sort by row
    - we can't insert or remove a single cell
    - a cell can't cross pages boundaries
    If I understand well these design choices match :
    ++-+-+-+-+-+-+-+-++
    Apple Human Interface Guidelines:
    Apply the 80 Percent Solution
    During the design process, if you discover problems with your product design, you might consider applying the 80 percent solution‚ that is, designing your software to meet the needs of at least 80 percent of your users. This type of design typically favors simpler, more elegant approaches to problems.
    If you try to design for the 20 percent of your target audience who are power users, your design may not be usable by the other 80 percent of users. Even though that smaller group of power users is likely to have good ideas for features, the majority of your user base may not think in the same way. Involving a broad range of users in your design process can help you find the 80 percent solution.
    +-+-+-+-+-+-+-+-+-++
    Yvan KOENIG (VALLAURIS, France) jeudi 9 juin 2011 16:03:52
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I can't open a doc in Pages, msg says I need "newer version of Pages" but it's already downloaded and updated. Help plse

    I can't open a doc in Pages, msg says I need "newer version of Pages" but it's already downloaded and updated. Help plse

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • Can't open a document I was writing yesterday-alert says I need a newer version of pages, but I only updated it in August

    Can't open a document I was writing yesterday- alert says it needs a new version of pages, but I only updated it in August 2014. Help please!

    You have two versions of Pages on your Mac.
    Pages v5.2.2 in /Applications
    Pages ’09 v4 in /Applications/iWork ’09
    When you open a Pages ’09 document in the default Pages v5.2.2, it is converted to the latter exclusive, new document format, and is not directly backwards compatible with Pages ’09. You would have to use Export To > Pages ’09 in Pages v5.2.2.
    If Pages ’09 is running, with/without an open window — double-clicking a Pages v5.2.2 formatted document, or attempting to open said document with the Pages ’09 document chooser, will generate the dialog you saw. It really means you cannot open this newer document format with your older version of Pages. There is nothing to download, because the cause of this dialog is simply having Pages v5.2.2 installed.
    You can open actual Pages ’09 documents:
    Right-click, Open with > Pages (4.3)
    Via Pages ’09 document chooser
    Drag/drop Pages ’09 document on the Pages ’09 Dock icon
    Pages ’09 File > Open…
    Pages ’09 File > Open Recent >

  • Using multiple refinement web parts on the same page but have them hidden until needed

    I have a search results page that has several different Core Results web parts on it (each is connected to a different result source). all hidden by tabs using the HillbillyTabs interface
    http://www.sharepointhillbilly.com/Lists/Posts/Post.aspx?ID=42
    unfortunately you cant share a refinement web part across multiple results web parts. So I am left trying to figure out how to hide several refinement web parts and only show the active refinement webpart when the result source tab is selected.
    The template im using is an OOTB standard search results template with the refinement panel on the left navigation zone and the core results web parts configured in the main content zone.
    Scenario:
    Search text box passes query to multiple results web parts on a page. Only one results web part is displayed at a time (active tab). The refiner for the active tab shows and displays its refiners in the navigation panel.
    There are multiple refinement web parts in the navigation panel associated with each core results web part in the main content zone. These refiner web parts are configured with custom refiners.
    the results page displays just one results web part at a time via tabbed interface.
    I am trying to figure out how to make the refiner web parts show and hide depending on which tab is selected.
    Any help pointing to someone thats already attempted this would be appreciated! 
    Eric

    Hi,
    For your issue, you can consider using SharePoint Search Navigation which can achieve a similar feature but not on the same page.
    Search Navigation allows users to move quickly between search experiences listed in the Navigation. Navigation is displayed in the Quick Launch control on search pages, and can also be shown as a drop-down menu from the search box.
    For more information, you can refer to the blog:
    http://blogs.technet.com/b/tothesharepoint/archive/2013/11/13/how-to-add-a-customized-search-vertical-to-your-search-results-page-in-sharepoint-2013.aspx
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How do I 'assign a higher layer to the object on the master' (page numbers on master) I understand the layer needs to be at the top to show above placed images on pages but how do I do this?

    I've added the page numbers to my master pages. They are displaying on the pages but I have images on the individual pages that are covering the numbers. I understand I need to assign a higher layer to the object but I don't understand how to do that. Please help me? Please explain a simply clearly as possible, I've read other answers but still don't understand. Wish it was as simple as select object, right click, edit layer!
    Many thanks!

    Layers panel;
    Create new layer
    Switch to Master page
    Make sure new layer is on top in the Layers panel, if not drag the layer on top in the Layers panel.
    Select (click once on) that top layer (pen symbol appears behind that layer in the Layer panel)
    Now draw your page numbers etc on the Mastet page
    From now on, select (click once on) any Layer in the Layers panel that is below the layer you used on your Master page items and create new objects in your document pages.
    If you accidently created objects on a 'wrong' layer:
    Select those objects
    You will see a square behind the layers name in the Layers panel
    Click and hold the mouse on that square and drag it behind the name of the layer you want to move the objects to.
    Buy a book about InDesign and start learning these basic principles!

  • Able to use % to query data in Some self service pages but in some pages we

    Able to use % to query data in Some self service pages but in some pages we get error " Search string cannot start with % "

    Able to use % to query data in Some self service pages but in some pages we get error " Search string cannot start with % "This is an intended functionality in 11i/R12 (for performance).
    "Please fill in selective criteria in at least one of the following fields for performance reasons" in View Requests Form After ATG RUP7 [ID 1095125.1]
    Re: When clicked Specific Requests
    Re: query mode 11i
    Blind Search
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Blind+AND+Search&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Blind Query
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Blind+AND+Query&objID=c3&dateRange=thisyear&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • I Need to Reinstall iWork (specifically Pages) but cannot find Install Disc.

    I had the most recent version of Pages, but bought it on disc before the App Store came around.  Now I need to reinstall and I cannot find the original disc. The App Store does not recognize that I own it.
    Do I have any options to reinstall or am I doomed to purchase it all over again through the App Store?

    If you can't find the disk or restore Pages from backup, you'll need to buy it from the Mac App Store.
    (72085)

Maybe you are looking for

  • Itunes won't add my songs to the library

    I moved my songs to an external seagate drive, have located them fine, the only way I can get Itunes to recognize them is to play each song individually from windows explorer, over 2,000 songs. I've tried "play all" in windows explorer, even tried hi

  • IPad is locked with a pass ode

    I have bought a iPad air for my grandmother and went to set up Internet connection for her today. It's now locked with a security pass code that was never set. I have tried all suggestions on here to reset but can't connect to the Internet or unlock.

  • Levels of WBS elements

    Hi All, I am new to PS. Please explain me how to define the levels of WBS elements with examples... Thanks Sneha

  • JCAPS 5.1.3 installation issues

    I am installing JCAPS 5.1.3 under Vista and I get a strange message: 16 bit MS-DOS Subsystem C:\Windows\system32\ntvdm.exe Error while setting up environment for the application. Choose 'Close' to terminate the application. It seems that is has no ef

  • Open a file in safari crashes

    when I go to upload a file by selecting file / open file. It begins to load Imovie project library and safari freezes. Is there any way I can make it so that when I go to upload a file. As in trying to upload pictures to facebook that it opens Iphoto