Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Change Field Value after Inserting Record

New Here ,
Jan 08, 2008 Jan 08, 2008

Copy link to clipboard

Copied

Hello,

Does anyone have any suggestions on how I can accomplish this?

I've got a master/detail page bound to a table called "requests". On the detail page, I have a form button that when clicked, "converts" the request to a project (creates a new record in the "projects" table). To do that, I created a form with the Insert Record server behavior. This works well and copies over the values from the "request" record fields.

What I'd like to be able to do, is after the project record is created, I'd like the value in the [status] field of the "requests" table to change to "Project Created". Both tables contain the [request_id] field.

Any suggestions? Thanks for your help.
TOPICS
Server side applications

Views

174
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2008 Jan 08, 2008

Copy link to clipboard

Copied

LATEST
WPW07 wrote:
> What I'd like to be able to do, is after the project record is created, I'd
> like the value in the [status] field of the "requests" table to change to
> "Project Created". Both tables contain the [request_id] field.

Use the Update Record server behavior to update the record.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines