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
LVL 14
p_parthaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.