Approach User Support homepage Approach User Support
Answers to Frequently Asked Questions about Lotus Approach
Examples LotusScripts
Example databases
Links to other Lotus Approach support services

[Return to contents]

Example LotusScript: Syntax use of currentview.body.objectname.text

Last updated: before December, 1998

 'Written by Jerry Sikes, 1997
   '(C) Copyright 1997 by Jerry Sikes
   '
   'Permission is granted to freely copy this script in electronic form,
   'or to print for personal use. It may be use in any Approach database,
   'but may not be distributed for profit either by itself or as part of
   'a collection or database.
   '
   'Disclaimer: This script is provided as is without any express or implied
   'warranties. The author assumes no responsibility for errors or omissions,
   'or for damages resulting from the use of the information contained herein
I've sent this script to show syntax use of currentview.body.objectname.text
The ".text"  syntax is used regardless if the field type is text, numeric or
date. If you want to manipulate a numeric field with a mathematical operation,
then use Val(currentview.body.numeric_field_object_name.text)*0.6. Date fields
have similiar script operators.
If your object name(field name) is two words use a ~(tilde) in place of the
space.
currentview.body.Account~ Number.text

[Return to contents]

© Copyright, JohnBrown, Trademarks, Disclaimer, Acknowledgements.