Jump to content

FMP-If


Justin Grewe
 Share

This topic is 6559 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi, I think the extra "." might confuse this.

I think FileMaker treats the first full point as the end of the left-side value, then wants an operator, then treats everything between the second full point and the bracket as the second value.

I'm not quite sure what this function asks - should EvalrespondQuestionID::AnswerStatus

and

NumPortalEntries

equal 0 for it to be true??

regards, jeff

Link to comment
Share on other sites

Nope, the [FMP-If: Field: EvalrespondQuestionID::AnswerStatus.{Field: NumPortalEntries} .eq. 0] that you said Garry does not work. I have also tried

[FMP-If: Field: EvalrespondQuestionID::AnswerStatus.{FMP-Field: NumPortalEntries} .eq. 0]

and

[FMP-If: {Field: EvalrespondQuestionID::AnswerStatus.[FMP-Field: NumPortalEntries]} .eq. 0]

and many other variations. It seems that maybe what Jeff said was right or that CDML does not allow [FMP-anything [FMP-anything] ] so does anyone know how I would get around this?

Thanks.

Justin Grewe

Link to comment
Share on other sites

Hi, dunno if this is any help, it changes a value in the last portal row:

[FMP-PORTAL: relationship]

<TABLE BORDER=1>

<TR>

<TD>

<P>[FMP-FIELD: relationship::theName]</P>

</TD>

<TD>

<P>[FMP-IF: CurrentPortalRowNumber.eq.field:counter]

--do somthing to the last row--[FMP-ELSE]

[FMP-FIELD: relationship::aField]

[/FMP-IF]</P>

</TD>

</TR>

</TABLE>

[/FMP-PORTAL]

-------------------------------------------------------------

the field "counter" is a count of a field in the portal so that we can get a value for the last row.

regards, jeff

Link to comment
Share on other sites

This topic is 6559 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.