kwatson Posted September 21, 2005 Posted September 21, 2005 In FMP6 and previous versions we had a simple script which said Open URL(fieldname) where field contains the complete URL of a .pdf containing submitted documentation. For some reason with FMP7 this has ceased to work on some of my users machines, but not all. I guess the workaround would be to put the .pdf's in a container field, but before I start converting everything...any clues why it won't work and what are the advantages/disadvantages of using a container field to do this? Any help will be appreciated.
CyborgSam Posted September 22, 2005 Posted September 22, 2005 URLs in a calculation need to have backslashes quoted. See below: FileMaker uses the [color:blue] (backslash) as an escape character within text strings in the calculation dialog. To insert a [color:blue]" (double-quote) into a text string, insert [color:green]". To insert a [color:blue] (backslash), insert [color:green]. To insert a [color:blue]¶ (paragraph mark), insert [color:green]¶. The paragraph mark's character may not show properly in all web browsers... Examples as they appear in a calculation: To get the text [color:red]"This is a quote." enter it as [color:green]""This is a quote."" To get the text [color:red]c:Documents and SettingsmeDesktop enter it as [color:green]"c:Documents and SettingsmeDesktop" To get the text: [color:red]This text is on two lines. enter it as [color:green]"This text is¶on two lines."
-Queue- Posted September 22, 2005 Posted September 22, 2005 Alternately, you can often enclose text within the Quote() function to produce the desired result.
Recommended Posts
This topic is 7100 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