June 24, 200223 yr Hi all, I have a web page used to update a database. Up to now, I would update the main info of this database through the web page, and only display the Portal Information. I now need to update the portal info as well. When I do that, even if my submit button has an edit value, i get a new portal row added every time I hit submit. Any idea How I can just get the edit fucntion, and not add a portalrecord every time? I have 2 text file,one for the portal and one for the main file. They are merged together by the HTML file. My code would look like this: <form name="editform" action="FMPro" method="post"> <input type="hidden" name="-DB" value="11111.fp5"> <input type="hidden" name="-Format" value="11111.htm"> <input type="hidden" name="-Lay" value="11111"> <input type="hidden" name="-Edit" value=""> <input type="hidden" name="-RecID" value="[FMP-CurrentRecID]"> [FMP-Portal] [field......] fields from the related file [/FMP-Portal] -----------this is a new file------------ [fields.........] fields from the main file <input type="submit" name="-Edit" value="Submit Changes"> </form> Thank you, David Glaser
June 25, 200223 yr Author Got the answer, there is a thread i did not see called adding multiple rows in portal from web. they talk about editing records as well, and the solution is to add .[FMP-CurrentPortalRowNumber]" after the portal field you wish to edit. David
July 21, 200223 yr Sorry David, I was on airplane when you posted this and then I was on holiday and then you know
Create an account or sign in to comment