glaser_david Posted June 24, 2002 Posted June 24, 2002 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
glaser_david Posted June 25, 2002 Author Posted June 25, 2002 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
Anatoli Posted July 21, 2002 Posted July 21, 2002 Sorry David, I was on airplane when you posted this and then I was on holiday and then you know
Recommended Posts
This topic is 8230 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now