Results 1 to 2 of 2
  1. #1
    ali_sh is offline Novice
    Windows 10 Access 2016
    Join Date
    Oct 2019
    Posts
    21

    merge two field in query but keep hyperlink format


    Hello
    I have two field containing Folder Name and File Name and I want to merge them in one field.
    Also I created a field ("LinkFiled") to create link into that and changed field format to hyperlink.
    I created a query and wrote below code in field row of query in one column but when executed query, hyperlink format disappeared.
    Code:
    LinkFiled: FileName & "#" & FolderName & "\" FileName & ".png#"
    Is there any other way to do that by writing this code in another place or using sql or ... ?
    thanks in advance

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Don't use #, just use a normal path name.
    open the path using either Shell,
    or the OpenNativeApp code I've posted here many times.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-13-2015, 11:20 AM
  2. Exporting query to .rtf format for word mail merge
    By Paul H in forum Import/Export Data
    Replies: 1
    Last Post: 07-13-2015, 02:56 PM
  3. Access to Word mail merge - data format
    By Lex_iuk in forum Import/Export Data
    Replies: 6
    Last Post: 06-24-2015, 06:49 AM
  4. Hyperlink email won't mail-merge
    By alexc333 in forum Access
    Replies: 1
    Last Post: 09-20-2011, 07:17 PM
  5. Mail Merge: Clickable Hyperlink
    By Sandi in forum Access
    Replies: 3
    Last Post: 09-20-2011, 12:36 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