Setting up "in-document" hyperlinks based on database fields, not URLs

Hi there,
Does anyone know whether or not it is possible to set up a Crystal report so that certain fields are presented as hyperlinks to nominated fields?
This is what I want to do:
In an index-style document, I have a top level value that is accompanied by several related values. For the related values, I want hyperlinks to be displayed so that the person browsing the report can jump to the top level value entry for the related value.... like this...
Top level value: DOGS
Related values...
Broader Value: Mammals (hyperlinked to jump to entry for "MAMMALS")
Narrower value: Poodles (hyperlinked to jump to entry for "POODLES")
So, where the above entry for "DOGS" appears, I want Crystal to put in a hyperlink on Mammals and Poodles so that the reader can go straight to the entries for these related terms, for example, if someone clicks on the hyperlink for Poodles.... they will be taken to the top level entry for Poodles... etc. etc.
Top level value: POODLES
Related values...
Broader value: Dogs (hyperlinked to jump to entry for "DOGS")
Narrower value: Miniature Poodles (hyperlinked to jump to entry for "MINIATURE POODLES")
etc. etc. and so on...
Basically I am hoping and imagining there is a way to do this without sitting down and manually bookmarking these entries. This is something that I could do reasonably easily in Word using Styles, however that would require first exporting the data... and I really want to be able to do it straight out of the database, in Crystal.
Anyone know the answer to this?
cheers
-karenb

I think you can try two ways
1) create a group on the field DOGS and place the related values in the details section.
Now right click on the detail section and go to section expert and write the suppress condition like this
DrillDownGroupLevel=0
Now when you refresh the report it will show the data like this
DOGS
MAMMALS
POODLES
When you double click on Dogs it shows the related details of DOGS in a seperate tab.
2) Try to create a subreport that shows the related details and insert this subreport as an on-demand subreport in the main report.This subreport should be placed in the group headers of DOGS field and change the caption of the subreport by right clicking the subreport and go to format subreport and in subreport tab add the field (DOGS) corresponds to caption by clicking X+2. Now link the subreport and main report with the grouped field in the main report using chnage subreport links option
Hope this helps!
Raghavendra

Similar Messages

  • Full list of database fields not showing in Database Explorer

    Good Afternoon,
    After a recent upgrade to Windows 7 which included having Crystal Reports 2011 reinstalled on to the PC, I am now unable to open the full list of database fields when connecting to an ODBC.
    I can open old reports and refresh them without issue, but I cannot create new reports.
    Any suggestions gratefully received at this point
    Thanks in advance
    Andy

    What type of database are you connecting to?  Is your Win7 machine 32- or 64-bit?  If it's 64-bit you need to create a 32-bit odbc connection.  If you're connecting to SQL Server, make sure that you have the "SQL Server Native Client" version 10 or 11 installed - the connection doesn't work well with the version 6 SQL Server ODBC driver that's installed as part of Win7.
    -Dell

  • Document to document hyperlinks exported to epub do not work

    I've been flooding the forums lately with a lot of ebook questions recently . . . hopefully this will be the last one. I've created multiple documents combined into a book, so that when I export my ebook, I'll get the necessary breaks within the book.  However, the cross references/hyperlinks that I've created using text anchors throughout the book only work if the source and destination are in the same document.  If I have a source in one document referring to a destination in another document, when I export the epub file, the link only jumps at the source rather than linking to the destination. I've creating the links by selecting the open document from the document drop down and then selecting the destination from the text anchor drop down.  It seems to work within ID, but not exported as epub.  What am I doing wrong?  I really need to fix this problem so my TOCs will work, at least.

    You are not doing anything wrong. It a bug in CS5.
    What happens is, the reference to the source file drops out of the code line, like this:
    <a id="anchor-50-anchor" /><span class="superscript"><a href="#anchor-57-anchor">1</a>
    and to should look like this
    <a id="anchor-50-anchor" /><span class="superscript"><a href="Notes.xhtml#anchor-57-anchor">1</a>
    So you will need to insert to relevant .xhtml file back into the code. I use Dreamweaver for the code stuff (only because it's free with CS package and because if give a preview window)
    I doesn't take long to fix...

  • Number of Copies to Print Based on Database Field

    Post Author: Ltreat
    CA Forum: Formula
    I am a newbie with Crystal Reports XI.  I am new to this forum. 
    I have a report that I am printing from Crystal Reports XI.  My database has a field called {database.drop-loc}.  If the field has a value of 50, I need to print 50 copies.  How do I perform this task in Crystal? 
    Thanks,
    Lynne

    Hi,
    See if country key can be added to the condition table and insert it in the access sequence.  Define exclusion check box by maintaining this access as the first in your access sequence.  When you maintain condition record for country as one of the parameters, make your number of copied in its communication data as you wish.  It should print based on country key, the number of copies...
    Regards

  • Set NAT's Default Host based on client ID, not IP

    Hello,
    Is there a way to set the NAT's default host to a "Client ID" instead of an internal IP address? I need this because often my PC's IP change and I need to update it manually in the Airport, causing it to restart and breaking all internet in my house.
    What happened to "it just works" ?

    Hi!
    In Airport Utility you have to go to Network tab. There you can add a DHCP reserve for your computer based on it's MAC adress. This way your computer will be always in the same IP.

  • Finding t-codes based on database field

    Dear All,
    I have a field AUFK-KOSTL, I want to find in which transactions or transaction codes, this field is being used.
    Please let me know on which transactions the field AUFK-KOSTL is being used.
    Thanks in Advance,
    Ramana

    hi,
      Try the transaction code  AS01
    hope this helps u.
    regards,
    sri

  • Can I store/retrieve a Word Document in a Database field?

    What conditions should me met to store/retrieve a Word Document in an Oracle database field?
    May be many things will be necessary to consider but, could you give me some guides? Do yo know about some web site place that talks about it?
    Thank you in advance!!!

    Look at
    Re: How to store a "word document" on Data Base?
    hope helps

  • Can Discoverer have link to display documents stored outside the database?

    I posted a message some time ago called "Possible for Discoverer to display BLOB type documents stored in database?" and got great answer.
    Now our customers are asking if it is possible, from Discoverer, to link somehow to a file stored outside the database on the Unix file system and get their computer to display it? Can anyone tell me if this is possible please?
    The only thing I've seen in the documentation that may be related is in Oracle Business Intelligence Discoverer Configuration Guide, section 10.6 List of Discoverer user preferences. It says there that Discoverer preference ProtocolList can be set so that Discoverer hyperlinks can be set to use protocols such as telnet, but the default is HTTP, HTTPS, and FTP.
    THank you in advance if you can help.
    Regards,
    Julie.

    Hi Rod,
    I have tried the second method: "create a Oracle directory pointing to the Unix directory containing the files". I have had success with it, but I'd be grateful if you could advise me if you would have done this the same way as described below:
    I put two Word docs and two text docs called clob_test1.txt, clob_test2.txt, blob_test1.doc, blob_test2 in the Unix directory corresponding to an Oracle directory called 'EIF'. I thought an extrenal table was needed so that Discoverer would have an object to write a queruy against. So I created a file called lob_test_data.txt with the following contents:
    1,01-JAN-2006,text/plain,clob_test1.txt
    2,02-JAN-2006,text/plain,clob_test2.txt
    3,01-JAN-2006,application/msword,blob_test1.doc
    4,02-JAN-2006,application/msword,blob_test2.
    THen I created an external table using the following DDL:
    CREATE TABLE jum_temp_lob_tab (
    file_id NUMBER(10),
    date_content DATE,
    mime_type VARCHAR2(100),
    blob_content BLOB
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EIF
    ACCESS PARAMETERS
    RECORDS DELIMITED BY NEWLINE
    BADFILE EIF:'lob_tab_%a_%p.bad'
    LOGFILE EIF:'lob_tab_%a_%p.log'
    FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL
    file_id CHAR(10),
    date_content CHAR(11) DATE_FORMAT DATE MASK "DD-MON-YYYY",
    mime_type CHAR(100),
    blob_filename CHAR(100)
    COLUMN TRANSFORMS (blob_content FROM LOBFILE (blob_filename) FROM (EIF) BLOB)
    LOCATION ('lob_test_data.txt')
    PARALLEL 2
    REJECT LIMIT UNLIMITED
    then created a Discoverer End User Layer folder against this external table, and used exactly the same technique as we did for downloading the BLOB from the database table (creating a new folder item containing a URL calling a database procedure which calls the Oracle code to download the doc). THis worked, but sometimes my PC didn't seem to know that the Word docs were Word docs and it needed to launch Word. Other times it did manage to do this OK. It always displayed the two .txt files as HTML docs.
    Just wondered if you'd be good enough to critique this approach.
    THank you, Julie.

  • Automatically populate fields in jsp documents based on other fields

    hello guys. I have a jsp document
    that has the following
    <af:inputText value="#{bindings.SourceDocumentId.inputValue}"
    label="#{bindings.SourceDocumentId.label}"
    required="#{bindings.SourceDocumentId.mandatory}"
    columns="#{bindings.SourceDocumentId.displayWidth}"
    binding="#{backing_transactions_editTransactions.docId}"
    id="docId">
    <af:validator binding="#{bindings.SourceDocumentId.validator}"/>
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.SourceDocumentId.format}"/>
    </af:inputText>
    <af:inputText value="#{bindings.DocumentName.inputValue}"
    label="#{bindings.DocumentName.label}"
    required="#{bindings.DocumentName.mandatory}"
    columns="#{bindings.DocumentName.displayWidth}"
    binding="#{backing_transactions_editTransactions.docName}"
    id="docName">
    <af:validator binding="#{bindings.DocumentName.validator}"/>
    </af:inputText>
    And I have created the generated the backing beans automatically.
    public class EditTransactions {
    private CoreInputText docId;
    private CoreInputText docName;
    public CoreInputText getDocId() {
    return docId;
    public void setDocName(CoreInputText inputText7) {
    this.docName = inputText7;
    public CoreInputText getDocName() {
    return docName;
    I have a method in appmodule that has this
    public String getDocName(Number docId)
    {String docName;
    return docName
    on the document Id field I have to input a certain docId after I input the docId I have to populate automatically the docName based on the doc Id being given.
    question
    1. how can I set the document name automatically w/out submitting the page ?
    2. how can I use my backing bean to set the docName using the method in my AppModule.?
    Can anyone help me regarding this one.
    Thank in advance
    alvin.

A: automatically populate fields in jsp documents based on other fields

here is what you need to do:
1. Change the definitions for your fields as following
<af:inputText value="#{bindings.SourceDocumentId.inputValue}"
                        label="#{bindings.SourceDocumentId.label}"
                        required="#{bindings.SourceDocumentId.mandatory}"
                        columns="#{bindings.SourceDocumentId.displayWidth}"
                        binding="#{backing_transactions_editTransactions.docId}"
                        id="docId" valueChangeListener="#{backing_transactions_editTransactions.docIdChange}"
autoSubmit="true">
            <af:validator binding="#{bindings.SourceDocumentId.validator}"/>
            <f:convertNumber groupingUsed="false"
                             pattern="#{bindings.SourceDocumentId.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.DocumentName.inputValue}"
                        label="#{bindings.DocumentName.label}"
                        required="#{bindings.DocumentName.mandatory}"
                        columns="#{bindings.DocumentName.displayWidth}"
                        binding="#{backing_transactions_editTransactions.docName}"
                        id="docName"
partialTriggers="docId">
            <af:validator binding="#{bindings.DocumentName.validator}"/>
          </af:inputText>2. add the followig method to your backing bean:
  public void docIdChange(ValueChangeEvent valueChangeEvent) {
    getDocName().setValue((String)getDocId().getValue() + "suffix");
  }Run your form and enter the value into docId field, then press tab to go to the next field - docName will be populated

here is what you need to do:
1. Change the definitions for your fields as following
<af:inputText value="#{bindings.SourceDocumentId.inputValue}"
                        label="#{bindings.SourceDocumentId.label}"
                        required="#{bindings.SourceDocumentId.mandatory}"
                        columns="#{bindings.SourceDocumentId.displayWidth}"
                        binding="#{backing_transactions_editTransactions.docId}"
                        id="docId" valueChangeListener="#{backing_transactions_editTransactions.docIdChange}"
autoSubmit="true">
            <af:validator binding="#{bindings.SourceDocumentId.validator}"/>
            <f:convertNumber groupingUsed="false"
                             pattern="#{bindings.SourceDocumentId.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.DocumentName.inputValue}"
                        label="#{bindings.DocumentName.label}"
                        required="#{bindings.DocumentName.mandatory}"
                        columns="#{bindings.DocumentName.displayWidth}"
                        binding="#{backing_transactions_editTransactions.docName}"
                        id="docName"
partialTriggers="docId">
            <af:validator binding="#{bindings.DocumentName.validator}"/>
          </af:inputText>2. add the followig method to your backing bean:
  public void docIdChange(ValueChangeEvent valueChangeEvent) {
    getDocName().setValue((String)getDocId().getValue() + "suffix");
  }Run your form and enter the value into docId field, then press tab to go to the next field - docName will be populated

  • Creating an open document/hyperlink

    Hello...I am trying to create an Open Document hyperlink on my report.  I am currently using Crystal Reports XI. 
    My main report is getting sent out in PDF and is a summary version of our inventory items.  I want the user to be able to click on the Item Number and another report will open with the details for that Item Number only. 
    Below is the URL that I have created
    BIQL_Open_Doc_Build("Build")+"sPath=[OpenDocuments]&sDocName=OD_TransferDate_Inventory&sType=rpt&sWindow=New&sRefresh=Y&lsSp1="&{@V - Parameter - Branch/Plant - Based on Field}
    Thanks!

    Sorry I am on http://mpwbowebsrv:8080/businessobjects/enterprise115/desktoplaunch/InfoView/main/hom (Hope that is what you were looking for).
    I get an error message when I click on the link. 
    Report Linking Error Back 
    Function getReportSource:
    Cannot find report or report instance... 
    Thanks!
    Edited by: ohiohawksfan14 on Nov 4, 2011 1:32 PM

  • Marketing Documents Transfer to New Database

    Hey all,
    We have been using Copy Express to copy most of the information from one database to another in preparation for a COA overhaul.  It's worked pretty well so far, but we realized that this tool does not bring over marketing documents.
    I am curious if importing a complete set of marketing documents (with links eg Sales Order -> Delivery -> A/R Invoice) is possible or reasonable.  Having spent some time importing Service Invoices, I know how to import them, but I'm not so sure that importing linked documents would be a reasonable expectation on a two year old database.
    Does anyone have any feedback on this?
    Thanks,
    Kevin

    Hi Kevin,
    Copy express is used to copy the database setting and master data (items, COA and BP) and so on (pls read the copy express help file).
    The marketing documents will not be imported to the new database since it will make a big effort and the result will not 100% correct.
    you just do opening balance (A/R invoice, A/P invoice, stock and G/L account opening balances, all of the documents mentioned are open status), meanwhile the opening document in the old database is still maintaining until invoices created. If the time for invoices created are coming, you do that in the new database and just use document type service and not item. I always suggest that to our clients if they want to make a database cut off due to some certain reasons. The new database go live date is the new document date that created on the go live date.
    Rgds,

  • Set the orgin document on a Journal Entry

    I don't see this exposed in the DI has anyone been able to set the orgin document on a Journal Entry (baseref field)

    ...when you go to the database documentation in SDK Help Center you will find all "valid values" - if any - for the fields.
    For BaseRef you should IMHO only find other "Marketing Documents" listed - and only the reference to the last referenced (remember that e.g. you can have multiple Delivery Notes for a single Sales Order).
    I never heard that Journal Entries could be actively linked to "Marketing Documents" - it works just "vice versa":
    When you post an A/R Invoice this will automatically generate a Journal Entry and link it to the Invoice - but via the field JrnlMemo - not BaseRef!
    However, you could add a UDF to fill in such information if you need it.
    HTH,
    Frank

  • How to findout the clearning document number based on the reference

    Hi all
    we  need to findout the clearning document number based on the reference number in financial transaction code.
    basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
    we  want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
    Please confirm.
    Thanks
    K.Gunasekar

    you can get it from BSAD too. but again its not a primary key

  • How to retrieve material document no. based on production confirmation no.

    Hi Friends,
    I am retreiving the production confirmation number(PRTNR) thru bapi BAPI_REPMANCONF_CREATE_MTS. Based on that confirmation number I need to retrieve material document number (MBLNR)
    Because multiple users can post finished goods from different locations at same time, I have to complusory retrieve the material document number based on confirmation number only. Tables MKPF and MSEG doesn't have confirmation number fields in them.
    I would appreciate if anyone could suggest me good ideas.
    Thanks in Advance.

    Hi Melih,
    Thank you for your valuable response.
    My BLPP table gets updated with material document as well as confirmation number.
    When I test my FM directly, I get a confirmation number in my export. I don't get a material document number in my export parameter. But, BLPP gets updated with material document number as well as confirmation number.
    But, if I debugg the FM with the same data I get the material document number as well as conf. no. populated in my export parameters.
    This is what I have done:
    Export parameters
    MAT_DOC type BELNR_D
    CONF type PRTNR
    DATA: GS_BLPP               LIKE BLPP,
                          GV_MAT_DOC      TYPE BELNR_D.
    CLEAR: GV_MAT_DOC, GS_BLPP.
        SELECT SINGLE *  INTO GS_BLPP
                         FROM BLPP
                        WHERE PRTNR = CONF
                          AND PRTPS = '0001'.
        GV_MAT_DOC = L_BLPP-BELNR.
        MAT_DOC              = GV_MAT_DOC.
    Please let me know if I have done something wrong.
    Thanks.

  • HOW TO FIND LAST DOCUMENT DATE BASED ON MATERIAL NUMBER

    Hi,
           I want to know how to find the last document details based on material number.
    Is there any Functional modulle or BAPI programe?
    i,e, I want know last goods receipt details (MIGO)  based on material number.
    Can u please anybody tell me.
    Thanks,
    S.Muthu.
    Edited by: Subramaniyan Marimuthu on Jan 2, 2008 9:07 AM

    Hello.
    Check the BAPI_GOODSMVT_GETITEMS
    -example--
    Get GRs after a specific date for a specific plant/ storage location and movement types
      wa_budats-sign = 'I'.
      wa_budats-option = 'GE'.
      wa_budats-low = '20071201'.
      APPEND wa_budats TO budats.
      wa_plants-sign = 'I'.
      wa_plants-option = 'EQ'.
      wa_plants-low = '1000'.
      APPEND wa_plants TO plants.
      wa_stlocs-sign = 'I'.
      wa_stlocs-option = 'EQ'.
      wa_stlocs-low = '0001'.
      APPEND wa_stlocs TO stlocs.
      wa_mvts-sign = 'I'.
      wa_mvts-option = 'EQ'.
      wa_mvts-low = '101'.
      APPEND wa_mvts TO mvts.
      wa_mvts-low = '901'.
      APPEND wa_mvts TO mvts.
      wa_mvts-low = '123'.
      APPEND wa_mvts TO mvts.
      CALL FUNCTION 'BAPI_GOODSMVT_GETITEMS'
        TABLES
          plant_ra        = plants
          stge_loc_ra     = stlocs
          move_type_ra    = mvts
          pstng_date_ra   = budats
          goodsmvt_header = header
          goodsmvt_items  = item
          return          = return.
    Reward if helpful.
    Cheers,
    George

  • Maybe you are looking for

    • How to find out if multiple apple ID's are attached to one icloud?

      Hi - I recently bought an iPhone 5c, and when restoring the new phone from my last icloud back up I was prompted to enter the password's for 3 different apple ID's. One was my friend's apple ID, the other two were connected to really old email addres

    • How to move a sequence, and only the media in the sequence?

      I need to move a 30 min. sequence, and associated media, to work on a different, remote editing system. I'd like to just get the media in the sequence with maybe 5 sec. handles. Every test I've run through Media Manager has copied each, complete, ori

    • How to migrate Planning from Production to Disaster-Recovery server?

      We are using Planning 11.1.1.3 Oracle repository. Presently our DR Planning Application name is different than production's name, and the DR's Windows server names are different from Production's. Otherwise, all other configuration the same. How do w

    • Help! Lost all Captured Video Files Using FCE 3.5 and Lacie 1TB Drive

      Hi all... I was wondering if anyone here could advise me on a most dissapointing occurence... A few weeks ago, I started learning Final Cut Express 3.5. I began by setting my scratch disk to my new Lacie 1TB drive and loading about 5 tapes to the dri

    • Installtion of oracle on fedora core7 problem

      I was trying to install oracle 10G on fedora core 7. All the setup has been completed and when i was trying ti run the file ./runInstaller the universal installer was not launched due to not finding the libXP.so file. Now my question is how to instal