• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

File maker pro text formatting...

Here is a small but seemingly insurmountable
problem that I am fishing for answers to:

I am trying to use FileMaker Pro to maintain a database
consisting of information to be exported to an HTML
document.  For ease of use I am attempting to have
filemaker automatically format all URLS.  For
example, someone typing:

email: bdimond@lerc.nasa.gov

I want automatically formated to:

email:<A HREF="mailto:bdimond@lerc.nasa.gov">bdimond@lerc.nasa.gov</A>

So far, I have managed to get the format I need by using
calculation fields to manipulate the text.  The only problem
is the damn quotation marks!  to date I have tried:

1. Putting the quotation marks into the calculation field,
   i.e. """, but the syntax checker will treat the extra
   quote as an open text string.

2. I then tried using putting the quote character into a
   global variable which would be swapped out with in
   a calculation via the substitute command.  Unfortunately,
   the applications smart quotes cannot be read properly
   as HTML text.

3. I then selected disabled "Use smart quotes" in the
   preferences panel, but the calculation result STILL
   used the smart quotes.

If ANYONE has some options on how to get filemaker to
insert regular quotes, I would be much obliged if they
would email me at: bdimond@lerc.nasa.gov.  Thank you.

Bob Dimond
0
zzdean
Asked:
zzdean
1 Solution
 
iracCommented:
I tested the following html code with Netscape navigator 3.0

<A HREF=mailto:me@somewhere.place>Mail me!</a>

You don't need the quotes for mailto.  I am pretty sure you don't need quotes as long as your filename doesn't have any spaces or 'special' characters in it.

While this isn't the answer you were asking for, I think it will solve your troubles.  I will look on my web server server tomorrow and see if I can answer the question more fully in case you do need to use quotes because of special characters etc etc.  I guess that someone could break the above code when they entered an email name into a form with a space in the name. Of course the mail wouldn't send correctly even if you had working quotes, but it might error out better with the HTML if we had quotes.  As I said, I will look tomorrow and see what I can find.  Happy serving.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now