My Assistant
![]() ![]() |
|
|
Mar 28 2012, 12:17 PM
Post
#1
|
|
|
UtterAccess Member Posts: 28 |
I have a field on my table defined as a Hyperlink. I want to enter the text with part of it in Quotes. For example, I want the Text to Display in the field to look like this:
"This data in Quotes" followed by this data not in quotes How can I entere the quotes and not have it chop off the text after the closing quote? |
|
|
|
Mar 28 2012, 12:43 PM
Post
#2
|
|
|
Access Wiki and Forums Moderator Posts: 47,962 From: SoCal, USA |
Hi,
What version of Access are you using? Please remember to select the version number when posting questions in case it becomes relevant to the discussion. Try doubling up the quotes. For example: CODE """This data in Quotes"" followed by this data not in quotes" Just my 2 cents... (IMG:style_emoticons/default/2cents.gif) |
|
|
|
Mar 28 2012, 12:51 PM
Post
#3
|
|
|
UtterAccess Member Posts: 28 |
Thank you, theDBguy,
I hit the submit now too quickly, but I am using Access 2007. When I enter your code, it looks like this: """This data in Quotes"" followed by this data not in quotes" I want it to look like this, if possible: "This data in Quotes" followed by this data not in quotes Did I misunderstand your suggestive code? |
|
|
|
Mar 28 2012, 12:54 PM
Post
#4
|
|
|
Access Wiki and Forums Moderator Posts: 47,962 From: SoCal, USA |
Hi,
Are you saying you were entering the text in the field itself? Then, maybe just try doubling up any quotes you use. For example: ""This data in Quotes"" followed by this data not in quotes I originally thought you were using code to enter the data. Just my 2 cents... (IMG:style_emoticons/default/2cents.gif) |
|
|
|
Mar 28 2012, 01:00 PM
Post
#5
|
|
|
UtterAccess Member Posts: 28 |
I admit, this should not be so difficult.
I promise that when I enter this, and save the record: ""This data in Quotes"" followed by this data not in quotes The data in the record is saved with "" Only the double quotes are in the field even though I entered the entire suggestion above. It must be me. |
|
|
|
Mar 28 2012, 01:09 PM
Post
#6
|
|
|
Access Wiki and Forums Moderator Posts: 47,962 From: SoCal, USA |
Hi,
It must be me. Not necessarily... I failed to mention that I really don't use Hyperlink fields. Can you post exactly what you are typing in the hyperlink field? I fail to understand where your sample data would hyperlink to. Maybe if I see the actual data, the "light" might turn on for me. Just my 2 cents... (IMG:style_emoticons/default/2cents.gif) |
|
|
|
Mar 28 2012, 01:24 PM
Post
#7
|
|
|
UtterAccess Member Posts: 28 |
As you suggested, I have uploaded the Edit Hyperlink prompt, shown as I would like to "see" the data when shown on a form or report. What is shown will actually truncate the text to the left of the right quote, if it is saved this way in the record.
Thanks for your attempts to help me.
Attached File(s)
|
|
|
|
Mar 28 2012, 02:28 PM
Post
#8
|
|
|
Access Wiki and Forums Moderator Posts: 47,962 From: SoCal, USA |
Hi,
Thanks for posting the image. The only safe way I have found to keep the quotes where you want them in the display text is to enclose the whole link in parens or brackets (or any other character except quotes). For example: ("Cuban Sandwich" Casserole) OR ["Cuban Sandwich" Casserole] Not sure if you're okay with that. Just my 2 cents... (IMG:style_emoticons/default/2cents.gif) EDIT: As I perform some more tests, I found out that all you really need is a non-quote and non-space character at the beginning of your link. For example, this will also be a valid display text: _"Cuban Sandwich" Casserole Maybe that might look better for you? This post has been edited by theDBguy: Mar 28 2012, 02:33 PM |
|
|
|
Mar 28 2012, 04:07 PM
Post
#9
|
|
|
UtterAccess Member Posts: 28 |
I appreciate all of you comments and suggestions, but I'm frankly amazed that there isn't some way to allow the intended text to display correctly. I expected a double quote, or some similar technique, but apparently the desired text can't display.
Again, thanks for all the suggestions. I'll implement one of them. |
|
|
|
Mar 28 2012, 04:21 PM
Post
#10
|
|
|
Access Wiki and Forums Moderator Posts: 47,962 From: SoCal, USA |
Hi,
(IMG:style_emoticons/default/yw.gif) Sorry I couldn't give you a better answer. I just don't have that much experience with Hyperlink fields. Hopefully, somebody else will jump in with a better answer. Good luck with your project. |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 21st May 2013 - 09:28 PM |