Hyperlinks in a database

I'm creating a bulletin board.
Messages are posted through a Coldfusion Form.
They are then inserted into a sql database (or should it be a
Coldfusion table or datagrid?)
The database columns are: MessageID, Subject, Author,
Message, NumberOfResponses, EmailAddress, PostingDateTime
I want the subject cell in the database (datagrid, table) to
be hyperlink that will cause the message to display when clicked.
So how do I hyperlink each subject entry to its corresponding
message?
Thanks a million. I've been researching this for weeks.
Sincerely,
Graham A. Kerby

The previous answer is correct but potentially misleading.
There can be no white space after the question mark. Here is the
same code, with the carraige returns in different places.
<a href="msgInfo.cfm?MessageID=#queryName.MessageID#">
#queryName.Subject#
</a>

Similar Messages

  • 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

  • Hyperlinks to database

    Hello all,
    plz tell me how to give a hyperlinks to the database in jdbc using servlets my database is in ms-access.
    vidya.

    Hello all,
    plz tell me how to give a hyperlinks to the database
    in jdbc using servlets my database is in ms-access.
    vidya.connection url?

  • Displaying hyperlinks in excel?

    Hi all,
    I am creating an application using BSP wherein i have to export the data to the Excel sheet through the BSP application. I am able to export the data from tables to the excel but there are some hyperlink entries in the database tables which i need to fetch and display in the excel. The problem is excel is not displaying those web addresses like "www.sap.com" as hyperlink.I tried to concatenate it with ' http:// ' , but its not converting the values into hyperlinks. Can anybody please suggest how to display the hyperlink values from database table into the excel sheet?
    Thanks in Advance,
    Mahima.

    Hi Anita,
    Please have a look at the following piece of code that i am using for concatenating hyperlink values with
    "=HYPERLINK....". But, still its not converting the values into hyperlink.
    the code is as below:
      data: s1 type c length 60 value  '=HYPERLINK("http:// ',
              s2 type c length 20 value  '","sap")'.
          SELECT SINGLE VALUE INTO WA_VALUE FROM ZGKB_ASSCI WHERE PAFID =  
          WA_FEATURE-PAFID AND COUNTRY_INDIC = WA_COUNTRY-LAND1.
          Append wa_value to itab_pdf.
    ***********For displaying the hyperlinks in excel.
            if wa_value CP ' www.. '
                concatenate s1 wa_value s2 into wa_value.
            endif.
              LOOP AT ITAB_COUNTRY INTO WA_COUNTRY.
               SELECT SINGLE VALUE INTO WA_VALUE FROM ZGKB_ASSCI WHERE PAFID = 
               WA_FEATURE-PAFID AND COUNTRY_INDIC = WA_COUNTRY-LAND1.
               CONCATENATE L_STRING   wa_value
               CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB INTO L_STRING SEPARATED BY
               CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
              endloop.
    I think it's almost similar to what your code is doing.But it is not converting the values to hyperlink.
    Could you please help me with this.
    Thanks and Regards,
    Mahima.

  • Link Won't Automatically Launch Email Client

    We use an intranet application database for CRM (ColdFusion) via Safari (5.0.3). Our accounts include email addresses which, when selected, previously opened a New Message in the email client of user's choice (whether Mail or Entourage, etc.)
    Some employees using iPads and iPhones were noting that Mail was not automatically launching when they selected an email address (appears as a hyperlink in the database). I began to investigate, and the links are not working (automatically launching a New Mail Message in the email client) on one of our MacMinis (10.4.11) either. The links to a New Messsage are working on some of our Macs (some 10.4.11, some 10.6.6), but not all.
    In my playing around with settings, somehow I have made the links not work on my MacBook Pro (10.6.6)!
    Here is the copied link (with inserts for security):
    https://www.[site].com/secure/customer/log_email.cfm?id=481&mailto=[name]@[domain].org
    Again, this WAS working fine in Safari on my MacBook Pro, but it is not now. I should point out that the email links ARE working in Chrome BUT NOT FireFox or Safari.
    I have changed my default email client in Mail, back and forth, to see if this would make a difference, but it has not.
    The CRM provider has said they haven't changed anything on their end (and again, it is working for many of our Macs).
    Any suggestions or help would be appreciated.

    Hi,
    On the iPads and iPhones. Tap Settings / General / Reset / Reset All Settings. Then restart the devices.
    On the Mac for Safari. Try troubleshooting the Safari .plist file.
    Quit Safari (Command + Q) Open a Finder window. Select your Home Folder in the Sidebar on the left. It has a small house icon. Then open the Library folder then the Preferences folder. Move the com.apple.Safari.plist file from the Preferences folder to the Desktop.
    Relaunch Safari. See if made a difference. If not, try emptying the Safari cache from the Safari menu, Safari / Empty Cache or Command + Option + E.
    Since you have changed the default Mail client several times, you may need to delete the com.apple.mail.plist file also from the user account: ~/Library/Preferences
    Make sure to make note of all your Mail preferences first before delete that.plist file.
    Carolyn

  • Open hyperlinks from database

    Hi,
    I have a table in database that has files uploaded from front-end like XLS, DOC, PDF,TXt etc.
    I need to create a report that shows the filename as hyperlink and when user clicks the link, it should open the attachment in Excel if .XLS, Adobe if .PDF ..
    Ex: Filename
    Test.xls
    plan.Pdf
    roadmap.doc
    Where all entries under "Filename" column is hyperlink and when user clicks hyperlink, it opens the appropriate document
    Can we get this done in BI Publisher out of the box or do we need any custom code?
    Advance thanks to everyone for their valuable feedback.
    Edited by: S00000 on Sep 14, 2012 12:15 PM

    ok
    >
    I have a table in database that has files uploaded from front-end like XLS, DOC, PDF,TXt etc.
    >
    in my humble opinion it's not good solution
    why in table? why not use bfile?
    if you want select blob from your table you must always download it to some directory on server in sql/plsql way
    or if you use, as example, c#client then you can download it as byte stream to client side
    if you use bfile then your file stored on some server directory and you can work with by ftp, http as for ebs sample
    so in this case you can't have problem with attachment, you can use url+filename in your report
    --add
    >
    Iam looking for a solution where I can show attachments in BIP report from Database directly.
    >
    i not sure as it looks like
    one big report with embedded many other files?
    or how?
    Edited by: AlexAnd on Sep 19, 2012 11:21 PM

  • Java to create hyperlinks from database-specified paths

    Hi, I�m using Tomcat 5.5/Java 5.0. and Windows 2000 and Internet Explorer 6
    I have a network path specified in a MySQL database table (e.g. one path might be: \\Rpfs01\Department\Finance\Public\Requisitions 4000+\req 4005 Sigma.xls)
    I�d like to query this database table and display the results in an HTML table with the above path to be used as a hyperlink (i.e. the user clicks on the hyperlink and up pops a 2nd page containing the xls file specified by the path).
    the problem is that web-page is viewing the path as containing escape characters. (i.e. if I click on the link as specified above, I get a file not found error. But if I add extra backslashes directly to the html code, the link works fine [e.g. \\\\Rpfs01\\Department\\Finance\\Public\\Requisitions 4000+\\req 4005 Sigma.xls]).
    Is there a way to have java automatically add the required back-slashes to make this work? I tried replaceAll (i.e. myPathString.replaceAll(�\\�, �\\\\�) ) but this is giving me a PatternSyntaxException.
    Any suggestions on how to fix?
    Thanks!

    Have you tried the URLEncoder class? Something like:
    String urlPath = java.net.URLEncoder.encode(networkPath, "UTF-8");

  • Opening HyperLinked Files contained in a database field Automatically alongwith Crystal Report

    Hi
    I am using Crystal Report 2008. We have a database table which has Bill of Material for all the parts, the table also has additional field which contains LINK to PDF File (i.e. c:\PDFFiles\XPart.PDF) which is containing Part specifications. Now i am able to create a Hyperlink from this field and user is able to click on the field to open the file.
    Is there a way, that all the associated linked files open automatically whenever a user previews this report.Any help would be highly appreciated.
    Thanks
    Shekhar    

    You can achieve the desired behavior by adding a UFL (User unction library) that includes a function for triggering and passing parameters ot a different process.
    At least one of the 3rd-party UFLs listed at Crystal Reports viewer comparison, Crystal Reports scheduler comparison and other utilities ( viewer and scheduler compa… provides such a function.
    You would then be able to add Crystal formulas that result in opening linked documents as a byproduct of previewing the report.

  • How to make data entries in a database table field as a hyperlink?

    Hello all,
    I am designing an application in BSP. The requirement is to  make some of the entries in the database
    tables as hyperlink values.
    I have a database table which has a field "country feature". The scenario is  that the user can enter any value in this field through view. The value can be a hyperlink or a free text, depending on the user requirement.
    Is there any way by which the user can enter hyperlink values in the particular field in a database table?
    Thanks in advance for your help.
    Gurmahima.

    Hey Gurmahima ,
    This is sample code for Selecting and deselecting all the checkboxes .
    All you have to do is Set a pf-status and follow the code logic .
    Here w_check is the check box field , w_line is the line your raeding and w_lines is the total number of lines(entries ) you have in table .
    set pf-status 'SELECT' .
    case sy-ucomm .
        when 'SELECTALL' .
          set pf-status 'SELECT' excluding 'SELECTALL' immediately.
          w_line = w_line + 3  .
          do w_lines times .
            read line w_line field value w_check .
            if w_check = space .
              w_check = 'X' .
              modify line w_line field value w_check.   
              add 1 to w_line .
            endif .                        " IF W_CHECK = ' '
          enddo .                          " DO W_LINES TIMES
          clear w_line .
        when 'DESELECT' .
          set pf-status 'SELECT' excluding 'DESELECT' immediately.
          w_line = w_line + 3  .
          do w_lines times .
            read line w_line field value w_check .
            if w_check = 'X' .
              w_check = space .
              modify line w_line field value w_check .
              add 1 to w_line .
            endif .                        " IF W_CHECK = 'X' .
          enddo .                          " DO W_LINES TIMES
          clear w_line .
    Hope you get it!
    Much Regards ,
    Amuktha .
    Edited by: Amuktha Naraparaju on Feb 5, 2009 6:22 AM

  • Hyperlink target connects from Outlook e-mail to file in Oracle database

    Greetings.
    Due to lack of permissions, I cannot create text file on the UNIX server.
    This will not be changed.
    I have stored the file in the Oracle 11g database.
    I want to send e-mail from PL/SQL with attached file.
    No UNIX scripts at all.
    It is a big file.
    Thought crossed my mind.
    Can I send e-mail from PL/SQL containing a hyperlink which connects to the file stored in the Oracle database ?
    The link target is a file stored in the Oracle database.
    Has anyone done this before?
    Let me know your ideas.
    Thank you.

    Oracle Freq wrote:
    I want to send e-mail from PL/SQL with attached file.
    No UNIX scripts at all.Can be done using UTL_SMTP or the newer UTL_MAIL.
    Attachments to e-mails are just that - the contents of the file is attached to the body of the mail. The mail arrives at its destination, the mail reader recognises the attachment and enables it to be saved to disk (or opened/viewed).
    This is standard stuff.. see MIME for details on how to construct a message body that includes attachments.
    Can I send e-mail from PL/SQL containing a hyperlink which connects to the file stored in the Oracle database ?
    The link target is a file stored in the Oracle database.Yes. You need a web server that has been configured with Oracle "+access+" - the default is using Oracle's Apache server that includes a module called mod_plsql. This module enables the web browser to use a URL that refers to a web enabled PL/SQL procedure in a specific database schema - and pass parameters (as part of the URL's query string) to the procedure.
    You can also use Oracle EPG (Extended Procedural Gateway I think is what the acronym means). This provides a web server directly inside the Oracle instance via the XDB (integrated XML database) option in Oracle. It too has a mod_plsql type module that provides an interface (via http) to web enabled PL/SQL procedures.
    This procedure can be a "+document download+" procedure. Oracle provides a system procedure called WPG_DOCLOAD.download_file()+ that you can use inside that web enabled PL/SQL procedure. This will return the contents of blob/clob as a "file" to the web browser.
    For example, a download web-enabled procedure will simplistically look something as follows:
    create or replace procedure downloadFile( fileName varchar2 ) is
            b       blob;
            mimeType varchar2(50);
    begin
            select
                file_content, mime_type  into b, mimeType
            from my_documents where file_name = fileName;
            OWA_UTIL.mime_header( mimeType, false );
            HTP.p('Content-Length: ' || DBMS_LOB.getlength(b));
            OWA_UTIL.http_header_close;
            WPG_DOCLOAD.download_file( b );
    end;The URL will look something like:
    http://my-webserver.my-domain.com:7777/pls/ora/scott.downloadfile?filename=somefile.docwhere:
    scott.downloadfile = name of PL/SQL procedure
    filename=somefile.doc = parameter name values to pass to procedure

  • Dynamic hyperlink from database table

    hi,
    I have requirement to create left hand menu on a page. Menu label and hyperlink is stored in database. What is the best way to achieve this. Basically when user logs based on his user name query will fetch the labels and hyperlink source. How to achieve this in ADF? I could not find anything out of the box. I have view object which stores that information but i dont know how to convert that information into hyperlinks.

    Assuming the UrlInfo is the name of the View Object that has the attributes label & link, you can use the af:iterator to show the labels & links as follows:
    1) Drag & Drop the UrlInfo into the page as a table. Delete the table in the .JSPX page and keeping the pageDef as it is.
    2) Instead of the af:table, use af:iterator to show the same.
    .JSPX page sample:
    <af:iterator value="#{bindings.UrlInfo.collectionModel}" var="row"
    rows="#{bindings.UrlInfo.rangeSize}" id="t1">
    <af:goLink id="g1" text="#{row.label}"
    destination="#{row.link}"/>
    <af:spacer height="1px" id="sp1"/>
    </af:iterator>
    PageDef sample:
    <executables>
    <variableIterator id="variables"/>
    <iterator Binds="Employees" RangeSize="25"
    DataControl="AppModuleDataControl" id="UrlInfoIterator"/>
    </executables>
    <bindings>
    <tree IterBinding="UrlInfoIterator" id="UrlInfo">
    <nodeDefinition DefName="model.UrlInfoVO">
    <AttrNames>
    <Item Value="label"/>
    <Item Value="link"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    </bindings>
    Thanks,
    Navaneeth

  • Parsing hyperlink from Database in PHP

    Hi,
    I need to populate the hyperlink from database. The rule is
    if the hyperlink equal to "-", then it returns "-". Otherwise, it
    will returns the hyperlink from database. Attached herewith is the
    code.
    However, whenever I click on the hyperlink, the link will
    becomes
    http://www.domain.com/www.LinkFromDatabase.com.
    Why it always append the web site's address?? Do I miss
    something?

    edwin@aw wrote:
    > However, whenever I click on the hyperlink, the link
    will becomes
    >
    http://www.domain.com/www.LinkFromDatabase.com.
    Why it always append the web
    > site's address?? Do I miss something?
    This is happening because your link doesn't begin with
    http://.
    > echo "<a href='$link' target='_blank'> $link
    </a>";
    This should be echo "<a href='
    http://$link' target='_blank'> $link
    </a>";
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Paste an email in database without hyperlink

    I'm creating a database where I need to have in one column clickable links (hyperlink)
    In the next column I need to paste email that I don't want to be clickable (no hyperlink)
    In Numbers prefs there is a pref, Automatic correction,
    that allows to automatically detect email and web links
    How to have only web links?
    I thought to select my column with the emails and make it plain text but I can't find the command or rule to do it so
    Any suggestion?
    Thanks

    Thanks Jeff: your suggestion is helpful.
    I will tell you how it works after I've done my  300 and more cells
    With just 5 works perfectly, I can see they go back at the exact point but I'm afraid with so many,
    if something goes wrong, I will mess up the whole work.
    I found myself another trick.. I first make all hyperlinks inactive, to be able to select the email I need,
    then I uncheck both.
    Not all cells are emails, but it's some work anyway
    The best solution would be to give the column a rule that says "plain text only"

  • JSP press hyperlink to display a text transfer from the database

    I have a JSP file, and it display a text from the database.
    but now I want to change it into a hyperlink, when I press the hyperlink then the text display.
    and my code is here:
    <tr>
    <td>
    <%=rs.getString("internal_ans").replaceAll("\n","<br>")%>
    </td>
    </tr>
    and I add a hyperlink:
    <tr><td>display</td></tr>
    How to write the onClick event to display the text.

    489joe wrote:
    I have a JSP file, and it display a text from the database.
    but now I want to change it into a hyperlink, when I press the hyperlink then the text display.
    and my code is here:
    <tr>
    <td>
    <%=rs.getString("internal_ans").replaceAll("\n","<br>")%>
    </td>
    </tr>
    and I add a hyperlink:
    <tr><td>display</td></tr>
    How to write the onClick event to display the text.Are you want to display in that table data cell or in any control like textbox...

  • Can you put a hyperlink on REPORT.   Column in database has filename or url

    I have a report that returns a column. It is a filename. If I cut and past it into Windows explorer it becomes a URL address. I would like to hover over the row in the database that I want and then either double click (or use a select box, check it and then put a button on the page that does the following:) Opens a new window: Uses Explorer to open the file. Just double clincking would be my preference. Like a hidden botton. But would have to have multiple hidden bottons, one for each row? ???
    Example: if the row in the database looks like this:
    id filename date
    20 c:\hold\my_favoritethings.doc 1/2/07
    35 d:\best practices.pdf 2/4/06
    86 c:\charting_shots.xls 5/3/07
    I just want to open the select record. Is that possible?
    Basically I want to launch a new application window. And use the filename as the input.

    You can find some great examples of how to do this on Denes Kubicek's Demo application. http://htmldb.oracle.com/pls/otn/f?p=31517:23:::NO I have found this app to have a wealth of great examples. Denes is one of many great contributors on this forum.
    NG

Maybe you are looking for

  • Regarding String truncation

    Hello all, I have got a small problem. Hope you will help me. I have got a text String which contains both single byte characters and multi-byte characters mixed up(English characters and non-english characters) which i need to insert into database t

  • HT2731 how to make a account so i can get apps

    ??

  • Popup window for downloading a file

    Hi, my dear users want me to do the impossible possible. My code generates an XML file which in time I displayed it in an Iframe in the application. When the standard popup window shows up, they can either Open, Save or Cancel it. This was allright.

  • FireFox will not save passwords even when set up to do so.

    Even thought I've foillowed all the instructions for saving password FireFox does not ask to nor does it save my passwords.

  • Authorization for confirmed activity

    Hi All, In project builder (cj20n) we create activity  and put actual dates. But when we cofirm the activities, then also project manager can change the actual start date for the activity. We want to disable actual start date field after fully confir