January 9, 200223 yr Ok, I have my RecID from the main database and an EventID from the related database saved from page to page using a token. With this information I need to do a condition like [FMP-If: content_area .eq. Science] How do I write this so it is looking into the related database. The way I have it now it is not finding anything on any of my conditions. Would it be something like:? [FMP-If: -db=scoe_events.fp5,token.1=eventID,content_area .eq. Science] Or did I just makeup some fancy code that will be used in Filemaker 6 Thank you Kent
January 9, 200223 yr You can either use a portal or an InLine Action. Here is an example from the CDML Reference database: [FMP-InlineAction: -db={CurrentDatabase}, -lay={CurrentLayout}, last name="doe", position="Software Engineer", -find] [FMP-Field: first name] [FMP-Field: last name] [/FMP-InlineAction] Hope this helps. Garry
January 9, 200223 yr Author So if I follow the example and put in my own variables it should look for this field in the specific eventID. Would this be correct? Right now it doesn't seem to work but I'm new to the inline tag? [FMP-InlineAction: -db=scoe_events.fp5, -lay=event, eventID="[FMP-CurrentToken: 1]", -find][FMP-If: content_area .eq. Technology]do this [FMP-If: content_area .eq. Math]do this [/FMP-If] [/FMP-InlineAction] Thank you Kent
January 9, 200223 yr quote: Originally posted by Kent: [FMP-InlineAction: -db=scoe_events.fp5, -lay=event, eventID="[FMP-CurrentToken: 1]", -find][FMP-If: content_area .eq. Technology]do this [FMP-If: content_area .eq. Math]do this [/FMP-If] [/FMP-InlineAction] Change the "[FMP-CurrentToken:1]" in the InlineAction to {CurrentToken:1} (no quotation marks), and change that second FMP-If statement to FMP-ElseIf [ January 09, 2002: Message edited by: The Bridge ]
Create an account or sign in to comment