Back Contents Print Close |
Working
With Data In Memory |
Description For instance, suppose you want to create a simple application that asks the user for a number, and returns the square root of that number. Obviously, there is no reason why the data should be saved permanently. The number being input is useful only for performing the calculation and will never be used again. However, the only way to input this number and perform the calculation on it and have it displayed is to use a table. So you can create a table with two fields:
To input the value, create an Data Entry procedure and include the field InputValue as part of the screen. Now make sure that the 'Save data permanently' option is not selected. This will keep the data in memory temporarily and will not save it. To display the result, simply create a Data Display procedure that contains the field SqrtValue. This will cause the appropriate formula to be calculated and display. |
Copyright
© 2001 RIQ Technologies Inc. All rights reserved. |