Ok.. another difficult one I think.. I hav...

Okโ€ฆ

another difficult one I thinkโ€ฆ

I have a table called Notices (key, Subject, Body) โ€ฆ

There is a form that is built and saved to the notices table, and a WorkFlow that picks it up and sends an emailโ€ฆ Always the same email and the same address, the only thing that changes are a name and date field already in teh body of the Notices[Body] column.

Soโ€ฆ my question is this.

Can I link to the form in a way that would UPDATE the existing record rather than set a new record each time?

Just thinking that this would save DB space โ€ฆ constantly overwriting the same row rather than adding a new row each time.

Thoughts?

0 4 306
4 REPLIES 4

#open

Sure, you can do that. How do you launch the form? If it is a top level

view, there is an option in the view definition to provide the rowkey of an existing row. Or you can use the edit action on the existing row โ€” i.e. view the row and click on it to edit it.

@praveen

Im launching the form using LINKTOFORM(โ€œNotices Formโ€, โ€œSubjectโ€, โ€œsome text hereโ€, โ€œBodyโ€, โ€œSome other text hereโ€)

What I would like to be able to do is open the existing DB row and over write the subject and body fields with my own data โ€ฆ

then โ€ฆ resave โ€ฆ

For Exampleโ€ฆ

If by adding the key field the record would be updated rather than a new record installed.

LINKTOFORM(โ€œNotices Formโ€, โ€œ_keyโ€, โ€œe4J23AYSโ€, โ€œSubjectโ€, โ€œsome text hereโ€, โ€œBodyโ€, โ€œsome other text hereโ€

Top Labels in this Space