I am trying to define a new Calculation Field (with text results)
with information from following fields, arranged as follows:
FirstName & " " & LastName
Organisation
Address
City & " " & Province
Country & " " & PostalCode
Creating spaces between FirstName and LastName etc works; but how do I
create carriage returns within this Calculation Field?
Also, some fields I am including in this calculation (like
Organisation) may be emtpy in some records; can I prevent that this
will show up as a blank line when empty?
Suggestions welcome!
Thanks,
Jose
good luck...
Klaas.
"Jose Verstappen" <jo...@earlymusic.bc.ca> schreef in bericht
news:3c343305.32611422@news...
"klaas seelen" <i...@schouwburgeindhoven.nl> wrote in message
news:ZUXY7.203561$Iw1.6...@nlnews00.chello.com...
>insert a "¶" in your calculationfield, this symbol stands for a carriage
>return. To prevent empty fields to generate an empty line you have to use an
>if ... then in your calculation. e.g.: If( organisation = ""; "";
>organisation & "¶")
Bedankt Klaas, van Early Music Vancouver in Canada... The first part
of your suggestion works when I enter the following:
First Name & " " & Last Name & "¶" & Organisation & "¶" & Address &
"¶" & City & " " & Province State & "¶" & Country & " " & Post Zip
Code
As I said, I'm new to Filemaker, and I have a problem with the layout
of the second part of your suggestion,
If( organisation = ""; ""; >organisation & "¶")
Whatever I try, I can't get this accepted and get messages that it
expects something else. Can you help me out and cut and paste this
into the first part in the proper way? Bedankt,
Jose
> As I said, I'm new to Filemaker, and I have a problem with the layout
> of the second part of your suggestion,
> If( organisation = ""; ""; >organisation & "ś")
That got beat up with email reply formatting. Should be as follows:
if(organisation = "", "", organisation & "ś" )
Basically, the conditional is saying, "if organisation is blank/empty, don't
add anything, otherwise add the organisation text plus a paragraph marker."
I'm wondering, would if(IsBlank(organisation)...) work better?
I also think it was an e-mail formatting problem. Here is the complete
calculation, there should be no > or < symbols in it so if there are any,
just delete them.
FirstName & " " & LastName & "ś" & If( Organisation = ""; ""; Organisation &
"ś") & Adress & "ś" & City & " " & Province & "ś" & Country & " " &
PostalCode
Klaas.
"Jose Verstappen" <jo...@earlymusic.bc.ca> schreef in bericht
news:3c348e7e.869970@news...
> On Thu, 03 Jan 2002 12:12:41 GMT, "klaas seelen"
> <i...@schouwburgeindhoven.nl> wrote:
>
> >insert a "ś" in your calculationfield, this symbol stands for a carriage
> >return. To prevent empty fields to generate an empty line you have to use
an
> >if ... then in your calculation. e.g.: If( organisation = ""; "";
> >organisation & "ś")
>
> Bedankt Klaas, van Early Music Vancouver in Canada... The first part
> of your suggestion works when I enter the following:
> First Name & " " & Last Name & "ś" & Organisation & "ś" & Address &
> "ś" & City & " " & Province State & "ś" & Country & " " & Post Zip
> Code
>
> As I said, I'm new to Filemaker, and I have a problem with the layout
> of the second part of your suggestion,
> If( organisation = ""; ""; >organisation & "ś")
How about a simple [cntrl][enter]for each carriage return. Works for me
everytime.
WBSimon wrote:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 321-5176
FM Pro Solutions Los Angeles, California
Associate Member, FileMaker Solutions Alliance
To prevent blank lines from appearing, you'll need to surround the carriage
return with an IF statement, something like:
if( isempty(organization), "", "P" & organization) -- where the "P"
represent a carriage return.
jo...@earlymusic.bc.ca (Jose Verstappen) wrote in news:3c343305.32611422
@news:
> > Also, some fields I am including in this calculation (like
> > Organisation) may be emtpy in some records; can I prevent that this
> > will show up as a blank line when empty?
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~