Solved

Changing Form on Edit/View

Posted on 2000-04-10
9
184 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
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
Technology Partners: 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

713 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