# ViewFormula

The `ViewFormula` parameter specifies the view formula to use to retrieve data from the database. (A ViewFormula is a statement that constructs a view).

If you set both the `NotesView` and `ViewFormula` parameters for the same task, `ViewFormula` is used and `NotesView` is ignored.

Type: | String
Default: | No
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `ViewFormula=@If(@Contains(@DocFields;@Text("FolderRef"));!@Contains(@Text(@Uppercase("002e5854f80757608025783f0036dbb0")); @Text(@GetField("$FolderRef")));@True`
See Also: | NotesView

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm