Solved

Changing Form on Edit/View

Posted on 2000-04-10
9
182 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
 
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now