home *** CD-ROM | disk | FTP | other *** search
- /*
- How to adjust a calculation, (compute field), that you don't want to
- display on the window.
- */
-
- Normally a compute expression that has the result displayed on the screen
- might look similar to the following :--
-
- strcpy({},${!{3.QUANTITY} * !{3.UNIT_PRICE}})
-
- This compute field can be "Adjusted" into totals in a linked parent file.
-
- Because there is a pair of curly braces ,"{}", in the expression DataBoss
- will ask you to mark the field in a window for display purposes. So to
- suppress the display we must remove the "{}".
-
- We can trick DataBoss into generating the correct code for the compiler and
- the correct adjust routine if we remove the first part of the expression,
- and enclose the remaining code in comment characters. Note that it is
- important to ensure the comment starts at the very begining of the
- Key/Compute Expression entry box.
-
- The resultant Key/Compute Expression is :--
-
- /*${!{3.QUANTITY} * !{3.UNIT_PRICE}})*/
-
-