Chuck Posted December 6, 2000 Posted December 6, 2000 Well, I know what the problem is, and the general idea of how to fix it, but not the specifics. Basically, carriage returns won't show up properly in a URL unless they are encoded. If you've worked with URLs much with web development, you might know that sometimes you have to insert the characters "%20" when you want a space in the URL. I know you need to do something similar with carriage returns, but don't know what the code is. I did some checking on the web but couldn't find the answer. Find out what the code is for a cariage return, and then use the Substitute function to replace the carriage returns in your field with the URL code. Then set the new calculated field to be the field referenced in the Open URL script step. I would use a second field so that one is more easily readable by the user and another can be used by the script step. Also, if you subscribe to FileMaker Pro Advisor, I believe that the issue with the cover story on XML had the information as to what the code is in the tips section in the back of the magazine, but I couldn't find that either. If you do find out the code, post it here, I would like to keep that information handy. Chuck
Vaughan Posted December 6, 2000 Posted December 6, 2000 I don't think the problem is with the transfering of the copy over the Internet -- carriage returns have been used in e-mail for over 30 years without any problems. I think it's the way you are trying to insert the carriage return in your calculation field. You need to use the
stac_1 Posted December 7, 2000 Posted December 7, 2000 I tried Chuck's suggestion posted December 02, 2000 11:13 PM to the "Send Mail Script" question and it worked like a charm but.... I have a problem with the copy in the body of the e-mail. I have tried to add a return symbol in my calculation which shows up in my calculation field but it does not carry over to my body copy in the e-mail application and some of the body copy I am trying to "move" is a bit lengthy and gets cut off. Is there a way to carry to formatting into the e-mail and how do I get around the size limitation?
stac_1 Posted December 7, 2000 Posted December 7, 2000 Thanks for your suggestions I have tried to use the
dspires Posted December 7, 2000 Posted December 7, 2000 The URL code is %0d [This message has been edited by dspires (edited December 07, 2000).]
stac_1 Posted December 7, 2000 Posted December 7, 2000 You are the greatest!... the code for a hard return (%0d) worked! Thanks a million! Stac
Chuck Posted December 7, 2000 Author Posted December 7, 2000 Thanks so much, dspires. I was looking all over for that code. Chuck
Recommended Posts
This topic is 9021 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now