Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Changing Form on Edit/View

Posted on 2000-04-10
9
Medium Priority
?
188 Views
Last Modified: 2013-12-18
I have 2 forms: FormA and FormB.
All fields in FormA and FormB intersect meaning they have common fields.

In View1, the user will compose using FormA.  In View2 the users can see all those in View1 but when they view/edit/print the documents it must use FormB.

TIA

Reden
0
Comment
Question by:reden
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 1

Author Comment

by:reden
ID: 2699423
sorry I forgot to ask how will I implement this
0
 
LVL 3

Expert Comment

by:Gunsen
ID: 2699611
In the view properties, set the Form formula for view1 to: "FormA" and the Form formula for view2 to: "FormB".  This should do it.
0
 
LVL 2

Expert Comment

by:amit_dutta
ID: 2699766
Hi reden,

The thibg u r trying to do can be achived by triggering a manual agent from the query save event of the FormA. This agent will change the value of the form field in the document.

But the better approach will be to create a single form with hide when formula in it. The hide when formula should check for @IsNewDoc.

Hope this will help u solve the problem.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:reden
ID: 2702475
amit

but what will I do with the common fields, they should be in different formatting, I cannot put a field in two places in a form AFAIK



0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 2707294
The simplest thing is to use Gunsens proposal.

Use Form Formula among views to use different forms for different purposes when on different views.

-Arun
0
 
LVL 1

Author Comment

by:reden
ID: 2707333
To all

documents will be viewed  using the form in form field, AFIAK, gunsen's formula is not the solution. Each document can only be seen in one of the form.

But I've already solved my problem,

here's what I do

I have views:
    view1 = shows/create using MasterForm
    view2 = shows/create using MasterForm
I move contents of FormA & FormB to:
    SubFormA & SubFormB
I Create Form:
    MasterForm with computer subform
    shows SubFormA when in View1
    shows SubFormB when In View2
    by using @ViewTitle & @If functions


Now, how can we close this Question?
0
 
LVL 5

Expert Comment

by:snocross
ID: 2708302
There should be an option for you to withdraw your question.
0
 
LVL 5

Expert Comment

by:ianB
ID: 2711389
Community Support has reduced points from 50 to 0
0
 
LVL 5

Accepted Solution

by:
ianB earned 0 total points
ID: 2711390
Refunding points and closing question.

IAn
Community  Support @ Experts Exchange
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question