Hyperlink Fields in Microsoft Access and Why You Should NOT Use Them

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 58

  • @rabidfollower
    @rabidfollower 2 роки тому +4

    My method to use the hyperlink feature without using hyperlink fields in tables is set a textbox's "Display as Hyperlink" property to "Always." In VBA, it's TextBox.DisplayAsHyperlink = 1. That way, regular text data is shown as a hyperlink with the finger cursor and everything. And I use the textbox's OnClick event to execute the hyperlinking. I actually make the textbox uneditable by enabling the Locked property to prevent accidental changes by the users. In fact, instead of the "Go" button (21:00), I have the users click an "Edit" button before they can make changes. But of course, everyone's need is different, and your method will suit most users.

    • @599CD
      @599CD  2 роки тому

      That sounds like a very elegant solution as well. :)

  • @charleswhite2941
    @charleswhite2941 3 роки тому +2

    Thank you, i have been fighting with this for months to get the hyperlink to files work properly.... i love the button idea.

    • @599CD
      @599CD  3 роки тому

      Awesome. Glad to help. Yeah, I hate the hyperlink field type... if you didn't get that already. :)

  • @MalcolmDavidson-hp5dz
    @MalcolmDavidson-hp5dz 2 роки тому

    This is an excellent tutorial and provided me with the information I needed. Well done, thank you.

    • @599CD
      @599CD  2 роки тому

      Welcome

  • @marielleorfila324
    @marielleorfila324 Рік тому

    Hello i have a question in email hyperlink, is there any chance when i click the hyper link button it will open to google browser in my gmail account and opened a composed message which the email encoded in my database is in the To: section?

  • @ivanuamusse
    @ivanuamusse 2 роки тому

    Good explanation.is possible to make this button to open to more the one location or to open a selection point as a map location of one place or region?

    • @599CD
      @599CD  2 роки тому

      599cd.com/MapLocation

  • @alveocampo8491
    @alveocampo8491 3 роки тому +1

    Hi. thank you for this. but im getting error cannot open the specified file. i can open the folder but not the pdf

    • @599CD
      @599CD  3 роки тому

      Something is probably spelled wrong.

    • @alveocampo8491
      @alveocampo8491 3 роки тому

      @@599CD i renamed the file name and still giving runtime error - 490

  • @johanderu788
    @johanderu788 2 роки тому

    Very well explained thank you very much. Surely works for me. Picture Button is great.

    • @599CD
      @599CD  2 роки тому

      Glad it helped

  • @jeromecahagnaan3567
    @jeromecahagnaan3567 Рік тому

    thank you, Sir, it's really helpful.

    • @599CD
      @599CD  Рік тому

      Glad to hear that

  • @saneneweyes6189
    @saneneweyes6189 2 роки тому

    I was trying to make a button to do a search or "check record status" by having the first part of the URL combined with a specific field number and then put the rest of the URL. Sort of a "HTTP link 'table data' &what2do=&get+record" (or whatever the rest of the URL would be...) to run a query or check on an external site. that possible? I tried to do another & following the field name, but that didn't seem to work.

    • @saneneweyes6189
      @saneneweyes6189 2 роки тому

      I sort of figured out a workaround, but it doesn't seem like Access likes to play nice with substrings ending with an equal sign.

    • @599CD
      @599CD  2 роки тому +1

      I don't follow. Why would your URL end with an equal sign?
      599cd.com/user-check.asp?ID=123456&KEY=something
      You need key/value pairs.

    • @saneneweyes6189
      @saneneweyes6189 2 роки тому

      @@599CD the first part of the url ends with an equal and the expression / field would follow the equal.

    • @stuartround
      @stuartround 2 роки тому

      Do this in VBA, if the url is always the same that's easy, just construct the link in VBA as text, otherwise take the value from the url field, and then add the parameter to the url from the id field. Then follow the link to that. Even nicer, use a webbrowser control in Access so you can show the results on the same form!

  • @andrechapman
    @andrechapman Рік тому

    I am trying to use file location but because I am using a ShareList it will not transfer to the site contents error message says "There was an error copying data to a SharePoint list. URL data '............' in field '............' could not be sent to the server. The URL may be invalid or longer than 255 characters.
    "

    • @599CD
      @599CD  Рік тому

      Bummer. Not familiar with that problem.

  • @jaswindersahota6329
    @jaswindersahota6329 2 роки тому

    in the form i have multi hyperlinks of PDF files. is any chance i can print all together.

    • @599CD
      @599CD  2 роки тому

      Sure. Use a recordset loop.

    • @jaswindersahota6329
      @jaswindersahota6329 2 роки тому

      in the access i like to print multi PDf files. please help. i am member

  • @arthurbezuijen1434
    @arthurbezuijen1434 2 роки тому

    Great! Very clear teaching.... :-) Not a tiny bit I did not understood!

    • @599CD
      @599CD  2 роки тому

      Glad you enjoyed it!

  • @stafbrosens6902
    @stafbrosens6902 3 роки тому +1

    How to make a mail merge with mail adress (from access short text type) in excel? Or how to convert excel (short) text to hyperlink?

    • @599CD
      @599CD  3 роки тому

      I don't understand what you're asking. Why are you bothering with Excel to do a mail merge if your data is already in Access?

    • @stafbrosens6902
      @stafbrosens6902 3 роки тому

      @@599CD See: Hyperlink Fields in Microsoft Access and Why You Should NOT Use Them

    • @stuartround
      @stuartround 2 роки тому

      Also not quite sure what you're asking, but do you mean adding a mailto: prefix to the email address so that it becomes a mailing hyperlink?

  • @Wolfgang1224
    @Wolfgang1224 2 роки тому

    This might be in the wrong place, but I'm trying to get Access to output a report to Word with clickable emails. It is for the body of an batch email that provides information to the people I send the emails to. Access outputs to the rtf fine when I open it with Wordpad. However, when I try to load it into word, I get "Error! Hyperlink is invalid". Word is far more complex than Wordpad so I just don't understand how clickable emails work in Wordpad, but not Word. I can't take the time to go through this email each time I generate it to manually add hyperlinks to the email addresses. Any ideas?

    • @599CD
      @599CD  2 роки тому

      Why not just export and email a PDF?

    • @Wolfgang1224
      @Wolfgang1224 2 роки тому

      @@599CD Lazy users want to click in the email & not open an attachment. I actually tested different outputs & the way I fixed it is to export to HTML, past that into Word, hit enter & delete at the end of the email. That turns it into an active hyperlink & then removes the carriage return. A bit wonky, but it works without too much effort.

    • @stuartround
      @stuartround 2 роки тому

      You shouldn't have to do enter and delete if you export a full hyperlink to word in html. email@domain.com. The part after href is the actual link, the part between the >and< is the text to display. You'd need to add this text in the query that generates the report, or you could do it in the report itself.

  • @siujasper5050
    @siujasper5050 2 роки тому

    I actually encountered another problem using hyperlink. When I have to upload tons of past data with hyperlink into the database, simply copy and paste from excel to access simply does not work
    Am I doing it the wrong way or if there are any other better ways to do it? Thanks.

    • @599CD
      @599CD  2 роки тому

      I get a ton of questions every day, and I don't have time to answer them all here on UA-cam. Feel free to submit your question on my website at: 599cd.com/AskYT

  • @yassirbelbekri828
    @yassirbelbekri828 2 роки тому

    Hi Sir,i hope you are fine.
    I have a form where i have a text zone and a botton. I need a vba code to use in that botton which help me to only open the file location that i have its path in the text zone and only select the file and not open it (the folder has many pdf files, so i want the code to only select the file for me to see it and not open it)
    Let's say the text zone is named "txtfilepath" and the botton is named "openfilelocation".
    Could you help me to do that please?

    • @599CD
      @599CD  2 роки тому

      You can submit questions here: 599cd.com/TH

  • @nb1ist
    @nb1ist 2 роки тому

    how this button can work when each record has a different hyperlink address? this go button will use only for a single URL address? please reply :) 🙂🙂🙂

    • @599CD
      @599CD  2 роки тому +1

      It will go to whatever address you type in the field.

  • @costastsantires8098
    @costastsantires8098 Рік тому

    And what should we do if we need to open a Outlook Item (.msg) ? ?

    • @599CD
      @599CD  Рік тому

      That's a whole different ball of wax. 599cd.com/ask

  • @keeranslade6392
    @keeranslade6392 2 роки тому

    Great video, great way to get around hyperlink fields. Works great for me but I do get an error when I use a link directly to a Sharepoint folder or file. Any ideas?

    • @599CD
      @599CD  2 роки тому

      Haven't tried that. Sorry. Not currently using Sharepoint.

    • @BackyardAstrophysics
      @BackyardAstrophysics 2 роки тому

      @Keeran did you ever find a solution to this? I am having the same trouble trying to open a OneDrive file location. I receive a Run Time Error 8 pop up but other websites work fine.

  • @robertodc62
    @robertodc62 Рік тому

    richard need help this technic work in a local network ?

  • @m.albayati5925
    @m.albayati5925 3 роки тому +1

    Thank you so much

    • @599CD
      @599CD  3 роки тому

      You're most welcome

  • @tutsecret499
    @tutsecret499 3 роки тому +1

    How can I put data on one specific field AGE. The data is from another field Automated Age that I created on the query with automated value. The specific field AGE belongs to the table. The only way I can put the data from the query is copy from the field from query and paste on the AGE field that is present on the table and on the query too. I want to avoid this copy and paste step. Is there a another way, when the query field automated age creates the age, I want the AGE field gets updated. The reason I don't want to automate the value on the AGE field is because of annual merging database that will cause error, saying that the AGE field does not match fields, it's my assumption, I did not test yet the merging to see if conflicts if I create the automation straight on the AGE field. Or another alternative, is to change the AGE field on the host merging database so that does not conflict with the original AGE field from the source database. For me to do that, my dept has to approve to change the AGE field property that was originally created by somebody else. Also I tried to make another query to update the table such as "update the table, AGE field as what contains on the Automated Age field on another query. But I did not get right yet. There might be a way to do it eliminating all these steps. I don't want user to copy and paste on AGE field, I want the AGE field get updated automatically. This Age field property is formatted as short text to input age manually such etc 60, 50, 20, etc

    • @599CD
      @599CD  3 роки тому

      Don't store age. Store DOB. Calculate age on the fly. 599cd.com/age

  • @janvanantwerp6574
    @janvanantwerp6574 Рік тому

    Yup!

  • @_zynergy1400
    @_zynergy1400 2 роки тому

    Great... the guy is spending 18 minutes on intro and then rushes through the thing you are actually trying to find out in 10 seconds....

    • @599CD
      @599CD  2 роки тому

      If you don't like it, don't watch it. Not everyone is as brilliant as you OBVIOUSLY are. Some people need (and enjoy) the intro material.