Can you please tell me the Differnce in writing the formula in View selection and Form formula in the view and please give an example
Subject: Differnce in writing the formula in View selection and Form formula in the view
Hi Sruthi ,
View Selection formula are written to filter the documents that needs to be displayed in the view.Say if the viewselection formula is "Select Form=“Employee” , then it displays all the document which are created using that form…If ur selection formula is “Select Form=‘Employee’ & Flag=‘1’” then it dispalys docs composed using employee form which has the Flag field value as “1”.
FormFormula is used to open the document with the form that u have given in the formformula…
See u have created a document using the form “Employee” and u want the document to get opened with form “DispEmployee”(that is when the document is opened) then u can give the formformula as “DispEmployee”…
We do this usually if we want to dispaly only particular details to the user(u can have all the common info alone in dispaly form…Hiding the other important details)
HTH,
Thish.
Subject: RE: Differnce in writing the formula in View selection and Form formula in the view
Hi Thish
Thanks for the response , still i am not very clear with the differvence
If i am not wrong,the same formula which is written in the form formula can also be wriiten in the be used in the Viee selection formula.
Then you would get the desires out put what you get when writing the formula in the Form formuls.
Can you please give me any other examples and what is the use of using the Form formula
Thanks
Sruthi
Subject: RE: Differnce in writing the formula in View selection and Form formula in the view
Hi sruthi ,
See u have a form called employee
(Consider u have following list of fields
Name
Age
Dept)
U have created some documents using that form…Consider u have created a view with viewselection formula Select form=“Employee”…
So that will list out the documents composed using that form(Employee)…
Now consider u have another form named “DisplayEmployee” where u have only Name and Dept field(field names should be same as that of in Employee form)
Give formformula as “DisplayEmployee” …u shouldnt give as select form=“xxx”…u need to give only the form name enclosed within double quotes…
Then try to open ur document …it will get opened with ur “DisplayEmployee” form(whre u will have only name and dept field) instead of getting opened with “Employee” form.Then remove the Formformula value and then try to open the document…It will get opened with Emploee form where u can see Name,Age and Dept values…
Basically Viewselection formula is to filter the documents that are getting listed out in the view…
Just try to change ur viewselection formula as "select form=“Employee1”(u dont have any form named employee1)…
Then it wont display any document…
Try the above example…U will know the diffrence…
HTH
Subject: RE: Differnce in writing the formula in View selection and Form formula in the view
Hi Thish,
Thanks for the response ,I think now i am getting the difference by writing the formulas in the view selection aand From Formula selection
Thanks
Sruthi