Results 1 to 6 of 6
  1. #1
    onlylonely is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2017
    Posts
    110

    Question Special Character not able to add into Access table.

    Hi Guys,

    I'm having tough time to insert my link into access table.
    Below is the code and the error. Any advise?
    After test, found that the error mostly cause by the "." accdb



    Click image for larger version. 

Name:	Error.JPG 
Views:	22 
Size:	33.0 KB 
ID:	28786

    Click image for larger version. 

Name:	code.JPG 
Views:	21 
Size:	26.5 KB 
ID:	28787

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    STRING characters must have quotes around it...

    "VALUES ('" & me.txtPartnum & "','" & me.issues & "'" .....

    NOTE: if your values have single quotes in it then you must use double quotes in the sql.

  3. #3
    onlylonely is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2017
    Posts
    110
    Quote Originally Posted by ranman256 View Post
    STRING characters must have quotes around it...

    "VALUES ('" & me.txtPartnum & "','" & me.issues & "'" .....

    NOTE: if your values have single quotes in it then you must use double quotes in the sql.
    Hi Ranman, thanks for your reply. I got it now.
    But i have another issue that is after i browse and put the link.
    When i click the link, it's not working. Any advise ?

  4. #4
    onlylonely is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2017
    Posts
    110
    Hi All,

    I've run to another issue which is after i put on the link.
    In the form view, browse using hyperlink and insert the link then i've tried to click the link but not able redirect me to the file i need.
    Same issue after i added into the table.
    Any advice?

    Click image for larger version. 

Name:	notlink2.JPG 
Views:	15 
Size:	37.2 KB 
ID:	28810

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    In the form view, browse using hyperlink and insert the link then i've tried to click the link but not able redirect me to the file i need.
    You haven't told us anything about your "business"/ database.
    What do you expect/want to happen when you click the hyperlink??

  6. #6
    onlylonely is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2017
    Posts
    110
    Thanks everyone. I've solved the issue.

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

Similar Threads

  1. Character sum on an access 2007 report
    By susendy in forum Access
    Replies: 1
    Last Post: 07-02-2014, 01:43 PM
  2. How to enter special character ' in textbox
    By uronmapu in forum Access
    Replies: 1
    Last Post: 07-25-2012, 04:02 AM
  3. Replies: 2
    Last Post: 04-13-2012, 06:57 AM
  4. Replies: 11
    Last Post: 07-20-2010, 06:55 AM
  5. Hi. I need very, very special help for Ms Access!
    By accessnotknow in forum Access
    Replies: 0
    Last Post: 06-12-2009, 12:21 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