June 5, 200322 yr I have tried numerous combinations, apparantly haven't found the key. Please help me to get this FMP-If statement to work. (* myself been playing around with the {}, "{}" and FMP- pairs. *) [FMP-IF: FMP-Field:Id .neq. {CurrentToken:1}] What is the secret ? Thanks JItse
June 6, 200322 yr Author Thanks for all the tips, but still not working. I wish i could let you see all the combinations i have tried. This is the very simple code, no other code is interfering: So my syntax is given problems, but what is the correct syntax then ? var namelist = new Array() var Idlist = new Array() var teller = 0 [FMP-InlineAction: -db=medewerkers.fp5,-FindAll] [FMP-Record] [FMP-IF: Field:Id .neq. {CurrentToken:1}] namelist[teller]="[FMP-Field:VolNaam]" Idlist[teller++]="[FMP-Field:Id]" [/FMP-If] [/FMP-Record] [/FMP-InlineAction] Help ! Jitse
June 6, 200322 yr I am assuming that you've included all your javascripts within the appropriate <script> tags? Also, I've discovered that the only way to include an Inline Action statement within a <script> tag is to use the document.write call. Can you post the actual code? Cheers! weecc
June 10, 200322 yr Author Sory for the delay on my side. I have include this code between script tags. This is the sample of the code (the actual if statement is changed to get it to work in a different way). Please explain the document.write call i haven not used it so far, but then again i have only tested the server app on just two browser. Is the document.write() used for compliancy? For what function calls should it me used then ? Thanks Jitse
June 10, 200322 yr I thought that the Field does not need to be declared as such but rather by its name? [FMP-IF: Id .neq. {CurrentToken:1}] vs. [FMP-IF: Field:Id .neq. {CurrentToken:1}] ....or maybe I am still asleep.
June 11, 200322 yr I've just tried this and it works for me: [fmp-if:currenttoken:1.neq.field:id] if that doesn't work, perhaps you could post your code so that we can better help. -Carrie
June 12, 200322 yr Author Well that is good news that the syntax is correct. I have not been able to reproduce, but in the mean time i came up with some other problems: 1] Mozilla the whole web servers hangs : had to install a new web companion (upgrade) 2] i have found some minor errors in the code (useless " etc) where safari had no problems with bu IE made a mess 3] The moment i have time i will try the syntax again because now i know it should work Thanks for all te comfort ! Jitse Keep you posted on my errors Jitse
Create an account or sign in to comment