Re: Editing and saving DB entry with new ID (index) number
- From: "Thomas A. Rowe" <tarowe@xxxxxxxx>
- Date: Wed, 25 Apr 2007 12:19:19 -0400
When you edit a record, you are writing the same record back under the same ID (key) with updated
info.
You have to load the record into an Add-Record form, which then inserts the updated record as a new
record in the same or another table in the same or different database within the site. This is
something that the FP database component is not designed to handle, so it must be a hand coded
solution.
--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================
"Brutus" <brutus@xxxxxxxxxxxxxx> wrote in message
news:Hv-dnQ0VIuP77LLbnZ2dnUVZ_vWtnZ2d@xxxxxxxxxxxxxx
The Frontpage 2003 Database Wizard (DBW) creates an "edit" option. It allows you to select a
record and edit a field. Then it rewrites the modified record back under the same key. I need to
have a different (new) key - have it added as a new record set.
"Thomas A. Rowe" <tarowe@xxxxxxxx> wrote in message news:uhWFMQzhHHA.1220@xxxxxxxxxxxxxxxxxxxxxxx
Unless you are actually changing and saving an existing record back to the same table, you are
not editing the record.
In order to accomplish what you want, which is to load an existing record into Add Record Form,
which would then allow the current record to be modified and submitted to another table, may
require hand coding.
--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================
"Dave Lagergren" <DaveLagergren@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8B078A42-E431-4C3C-BB6E-3D6B5175774F@xxxxxxxxxxxxxxxx
I need to edit an entry in an access database and then save it as a new
record. I have designed everything with DBW. The update.asp file gets the
edited info and writes it back in the same record. Submission_Form.asp
writes a new record. I can't figure out how to utilize the code in
Submission_Form.asp to save the output of update.asp. It is a huge hunk of
code but I can post it if needed. I created the website with FP 2003.
--
Dave Lagergren
Manager - Data Applications
Wireless Management, Inc
Specializing in cellular wireless applications
.
- References:
- Re: Editing and saving DB entry with new ID (index) number
- From: Thomas A. Rowe
- Re: Editing and saving DB entry with new ID (index) number
- From: Brutus
- Re: Editing and saving DB entry with new ID (index) number
- Prev by Date: Re: Editing and saving DB entry with new ID (index) number
- Next by Date: Re: Form spamming
- Previous by thread: Re: Editing and saving DB entry with new ID (index) number
- Next by thread: Re: Form spamming
- Index(es):
Relevant Pages
|