March 12, 200322 yr Newbies Can any one help me, I am new to FMP, what I am trying to do is open basic realm Username and Password this works, and the inlineaction works but CurrentFoundCount does not work, so the basic realm will go on for 3 counts and then will access denied.htm. I would appreciate any help. Thanks Stuart. [FMP-Header] HTTP/1.0 401 Unauthorised MIME-Version: 1.0 WWW-Authenticate: Basic realm="Registered User" [FMP-InlineAction: -db=contact security_.fp5, -lay=frmsecurity, username="{ClientUserName}", password="{ClientPassword}",-find] [FMP-IF: CurrentFoundCount .eq. 1] <meta http-equiv="refresh" content="2;URL=FMPro?-DB=contact&- lay=frmview&-Format=contact_db/frmview.htm&-sortfield=company&- max=1&-Find"> [/FMP-IF] [/FMP-InlineAction] [/FMP-Header] [FMP-Include: contact_dbdenied.htm]
March 13, 200322 yr I'm not sure about the [FMP-If] tag within the [FMP-InlineAction] tag. Test with just a simple [FMP-If] statement to see if the If is working. Good Luck. Garry
March 13, 200322 yr Author Newbies [FMP-IF] tag does work I think I may have the CurrentFoundCount coded wrongly.
March 13, 200322 yr Are you sure you need the "" around {ClientUserName} ? I seem to recall you shouldn't
Create an account or sign in to comment