Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

Form Field

Hi all,

I feel silly asking such a question but i am going mad at this:

here is the scenario:

There are two forms A and B

i compose documents using form A and display it using Form B
but when i display it , i give the user the option of changing the values also. Once the user changes the value and saves the document, the form name changes to B but i want it to be always form A .

Here is what i tried:

I craeted a form field in the FOrm B and defaulted it to "Form A" - didn;'t work
Before saving the documnet, i deleted the form field and recreated it to point to Form A - it also didn't work

so my formula was

field form:=@deletefield;
field form:="form a"
@postedcommand([filesave]);
@postedcommand([fileclosewindow])


I don't wnat a solution where i have to write a macro to change the form name again...:)

Any ideas or i am completely missing something


partha
0
p_partha
Asked:
p_partha
  • 5
1 Solution
 
p_parthaAuthor Commented:
BTW this is in web

Partha
0
 
p_parthaAuthor Commented:
0
 
p_parthaAuthor Commented:
Ok, i found the solution also, if anybody is interested, In webquerysave this is what i gave and it works:'

field Form:=form;
@setfield("Form";"FormA")

Voila it works

Hope it helps somebody

Partha
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
p_parthaAuthor Commented:
Yes Crak, help much appreciated..

Partha
0
 
ArunkumarCommented:
can i ask a question and award the points to myself ?

;-))
0
 
p_parthaAuthor Commented:
Arun,
FYI the question was made to zero points and then my answer was accepted , anyways that seems to be a hack :)

Partha
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now