Notes Error No Main Or Selection Expression In Formula
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > No Main or Selection Expression in Formula Want to Advertise Here? Solved No Main or Selection Expression in Formula Posted on 1999-12-10 Lotus IBM 1 Verified Solution 3 Comments 1,315 Views Last Modified: 2013-12-18 I am trying to create an action button that will display a drop down list of choices. When I enter a formula such as: list:=@DbColumn(.....) or choice:=@PickList(....) I get the Formula Error that "No Main or Selection Expression in Formula". If I remove list:= or choice:=, I do not get any error message. Why is this? 0 Question by:Chris_m Facebook Twitter LinkedIn Google LVL 24 Best Solution byHemanthaKumar After the field or variable assignment notes formula language expects a statement next to the assignment statement. So enter "" after the assignment statement. Good Luck Hemanth Go to Solution 3 Comments LVL 24 Overall: Level 24 Lotus IBM 23 Message Accepted Solution by:HemanthaKumar1999-12-10 After the field or variable assignment notes formula language expects a statement next to the assignment statement. So enter "" after the assignment statement. Good Luck Hemanth 0 LVL 2 Overall: Level 2 Lotus IBM 2 Message Expert Comment by:melbor11999-12-10 You get this message because a formula must result to something. If you put List := @DbColumn(....), then you must follow it with a semicolon and 'list' like this: List := @DbColumn(.....); List List is a temporary variable used in formula language. I would need more information to help you with what you are doing, for example, where is the action button located, what sort of information is in the drop down list, etc. Melissa 0 Message Author Comment by:Chris_m19
Music Digital Photography & Video Games & Strategy Guides Project Management Mobile & Wireless Computing Education & Reference Encyclopedias Test Preparation Studying & Workbooks Schools & Teaching Writing, Research & Publishing Guides Foreign Language Study & Reference Atlases & Maps Dictionaries & Thesauruses Words, Language & Grammar College & University Trivia & Fun Facts Consumer Guides Business & Investing Industries & Professions Management & Leadership Organizational Behavior Personal Finance Small Business & Entrepreneurship Popular Economics Marketing & Sales Finance Skills Business Life Economics Job Hunting & Careers Biography & History Reference International Real Estate Investing Women & Business Science & Math Mathematics Technology Reference Earth Sciences Physics https://www.experts-exchange.com/questions/10245258/No-Main-or-Selection-Expression-in-Formula.html Biological Sciences Behavioral Sciences Nature & Ecology Astronomy & Space Science History & Philosophy Experiments, Instruments & Measurement Agricultural Sciences Category list Computers & Technology Software Networking Network Administration Operating Systems Databases Windows OS Unix MacOS Solaris Similar pages Section 7.2. Assignment and RetrievalSecurity ConsiderationsTextField.scroll PropertyConstructing Simple FormulasThe Formula WorkshopWhy Use Formulas?Important Formulas in This ChapterSyntax ExtensionsChapter 17: An ML Implementation of SubtypingEvaluate the Response ProcessDetailsUnderstanding the Expression http://flylib.com/books/en/1.480.1.125/1/ Controller InterfaceSpecific Practices by GoalDisplaying Text with blur Filters Formula Syntax Buy on amazon.com >> Kern S., Lynd D., Penny D. << Previous page Table of contents Next page >> Formula Syntax Each formula is composed of statements that take actions or evaluate to a result. The @Commands generally take an action, although a few return a result. Most formulas must evaluate to a main expression or a result, regardless of the side effects. For example, the following formula for a default value of the cSubject field generates an error: "No main or selection expression in formula." jcSubject := "Formula Syntax" This is because there is no main expression. The formula simply assigns a value to a temporary variable. You can, however, use a text constant. A text constant is always enclosed in quotes. For example, "Formula Syntax" could be placed in the default value event, which would then be assigned to the field when a document is created. You can also write the following formula, storing the value "Formula Syntax" to a variable, and use the variable as the last statement: jcSubject := "Formula Syntax"; jcSubject Fields on a form evaluate from left to right and top to bottom. Similarly,
main or selection expression in formula: " " Hi. New to Notes R4. Getting this error message trying to assign a default value to a field... FIELD DevEdit := DevEdit Tried using the help example verbatim with no success. Any ideas? thanks, jake 2. READ THIS!!! Amiga Hardware Auction Upd#10 3. Formulae & Logical expressions 4. Proxy Server Question 5. view selection: hide main-document too if condition in response matches 6. WANTED motorola 6809 emulator 7. Going from all main documents to a main document/response hierarchy 8. BC3.1 putimage and getimage help. 9. changing a View's Selection formula from a Web Client? 10. Dircat Problem - Using Selection Formula 11. Is it possible to manipulate view selection formula outside view 12. Need help with view selection formula 6 post • Page:1 of 1 All times are UTC Board index Spam Report