Jump to content

Cannot Edit or Delete Records

This topic is 8404 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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...



<title>Edit Article Request</title>



<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>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>




Thanks again for any help!!!


Link to comment
Share on other sites

  • Newbies

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!!!!


Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 8404 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.