Newbies JoeF Posted April 17, 2001 Newbies Posted April 17, 2001 Hi Everyone! Im new to all this and trying to get a simple database going where people will be able to edit and delete information, ive pretty much followed the book and the code is exactly what its telling me to put, but when i try and do any editing to a record or deleting of a record i get an error! ive looked through the discussions and did find one message that said you needed -recid that might be what im missing, but im not sure, heres the code, and any help would be greatly appreciated! thanks in advance This is what i have for edit... <html> <head> <title>Edit Article Request</title> </head> <body> <form action="FMPro" method="POST"> <input type="hidden" name="-db" value="articlerequest"> <input type="hidden" name="-lay" value="webarticle"> <input type="hidden" name="-format" value="editresp.html"> <input type="hidden" name="-error" value="error.html"> <p>Please edit your information</p> <p></p> <p>First Name: <Input type="text" Name="FirstName" Value="[FMP-Field:FirstName]" Size=20></p> <p>Last Name: <Input type="text" Name="LastName" Value="[FMP-Field:LastName]" Size=20></p> <p><input type="submit" Name="-edit" Value="Submit"></p> </form> </body> </html> Thanks again for any help!!! Joe
elvis_impersonating_penguin Posted April 17, 2001 Posted April 17, 2001 i think when you are editing or deleting a record you need to have a record ID in there.. try putting this hidden field in there with all the other hidden fields. <INPUT TYPE="hidden" NAME="-recid" VALUE="[FMP-currentrecid]">
Keith M. Davie Posted April 17, 2001 Posted April 17, 2001 JoeF, you should be using your CDML Reference database. Refer to "Edit Record" in that database. You will find a list of "Other tags that are required". SIMPLIFY ... Keith
Newbies JoeF Posted April 17, 2001 Author Newbies Posted April 17, 2001 Thanks alot Bman!!! It works now! And Keith..."CDML Reference database" can you point me to one, or is it sitting under my nose? all i have is a filemaker pro visual quickstart book and thats where i was using the code that didnt work. Thanks alot for everything though! Joe
Keith M. Davie Posted April 18, 2001 Posted April 18, 2001 Originally posted by tomrt, rockville md., and posted many times since. FileMaker's CDML Reference (for v5) is freely available at http://www.filemaker.com/downloads/hqx/cdml_web_tools.zip YOU NEED ZIPIT TO UNSTUFF. SIMPLIFY ... Keith
yafreax Posted April 18, 2001 Posted April 18, 2001 well, Stuffit Expander will work too if your on a mac. The joys of a mac, much more versitale. . . jeremy
Vaughan Posted April 20, 2001 Posted April 20, 2001 A tip for the future: go to FMP Help aand print out the section for the Status(CurrentError) function. This will list all/most of the error codes, so you'll be able to look them up. Generally they are pretty clear aand often quickly lead to the solution. Similarly, include the error code in yourr post to the forum. I'm surprrised that nobody has asked you what the error was! Without that information, everything is guesswork.
Recommended Posts
This topic is 8619 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