Results 1 to 4 of 4
  1. #1
    ariansman is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    57

    how to make this report?

    I have made a table which contains the data from some companies, such as company name, phone number and address, website, etc. I have also made a report over this table.


    How can I make this report, so that if I click on the box that has the company website, it automatically open an explorer with that company website in the address bar?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Check out FollowHyperlink. Note the report can only be opened in Report view for this to work, not Preview.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ariansman is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    57
    thank you,
    i reviewed https://msdn.microsoft.com/en-us/lib.../ff822080.aspx. but i could not figure if i open the box properties in the form/report and then, on click, then what i should write there. can anybody advise?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,638
    Code in the Click event of a textbox or a button on the report.

    Instead of popup input box, reference field that has the company URL:

    Sub btnWeb_Click()
    Application.FollowHyperlink Me.fieldname, , True
    End Sub

    If the URL is saved into a Hyperlink type field, don't need any code.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 17
    Last Post: 02-13-2015, 06:24 AM
  2. Replies: 4
    Last Post: 07-31-2014, 01:08 PM
  3. Make Report Label Visible (or not)
    By libraccess in forum Reports
    Replies: 5
    Last Post: 11-02-2013, 07:50 PM
  4. Make report sort by IDs and then by Date
    By taimysho0 in forum Programming
    Replies: 4
    Last Post: 07-03-2012, 01:03 PM
  5. SQL Code to Make Query / Report
    By agent- in forum Programming
    Replies: 10
    Last Post: 06-17-2011, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums