July 13, 200025 yr Can someone help me figure out why this form doesn't work? I keep getting the error page.. <form action="FMPro" method="POST"> <input type="hidden" name="-DB" value="test.fm"> <input type="hidden" name="-Lay" value="info"> <input type="hidden" name="-Format" value="test.html"> <input type="hidden" name="-Error" value="error.html"> [FMP-RECORD] <input type="hidden" name="-RecID" value="[FMP-CurrentRecID]"> <input type="checkbox" name="Account" value="Y"> [FMP-FIELD: first] [FMP-FIELD: last]<br> [/FMP-RECORD] <input type="submit" value="Submit" name="-Edit"> </form> And also, when I check the page source, the RecID off by 1 if it's greater than 80...I'm not sure why that is... Thanks, Anita
July 16, 200025 yr 1. You should change your -error code line temporarily to a comment line: <!--input type="hidden" name="-error" value="errorhtml--> The result will be that you will get FMP's error message instead. That should give you a clue as to what is causing the error. 2. If one record is deleted, the recid will be off by one from where the deletion occurred. Remember the recid is a number internal to FMP. It really should not affect what you are trying to accomplish. 3. The impression I get from your use of [fmp-record]...[/fmp-record] is that you are attempting a simultaneous -edit of multiple records. Peace Keith M. Davie
July 17, 200025 yr Author Yes I am trying to edit multiple records at the same time... This is the error message that I got: "Your attempt to edit a record failed because of the following: Unknown error number 102." Does that mean even FileMaker doesn't know what the error is? Thanks so much for your help. Anita
July 17, 200025 yr FMP error message 102 = "Field is missing" You can locate (and I would recommend you print out) FileMaker error messages in FileMaker Help/Index/error message. I don't know how successful you will be at editing multiple records, not having explored that aspect. Peace Keith M. Davie
August 17, 200025 yr I think that in your example, FMP is looking for a field called "-RecID" which of course it cannot find. Forget trying to edit multiple records with one form.
Create an account or sign in to comment