Aantar Books
Sums in a box and the calculator (F10)
Add, subtract, multiply and divide right inside any amount, rate, price, cost or quantity box, or open the calculator with F10 and put its answer back in the box.
Where: Edit ▸ Use Calculator
You never need a desk calculator beside Aantar Books. Every box that takes a figure (an amount, a rate, a price, a cost, a quantity or a discount) works out a sum as you type it. For a longer sum, F10 opens a calculator from anywhere, and its answer goes back into the box you were in.
A sum typed in the box
Type the first figure, then an operator: +, -, * or /. A small tape opens under the box. Everything you type next goes onto the tape, not into the box:
- each figure, with the operator before it, on a line of its own;
- the answer so far, under a line, beginning with =.
Then:
| Key | Does |
|---|---|
| Enter or Tab | Puts the answer in the box and moves on, exactly as if you had typed the answer. |
| = | Puts the answer in the box and leaves the cursor there. |
| Backspace | Takes the last character off the sum. |
| Esc | Cancels the sum. The box goes back to what it held before. |
A click anywhere else, for example on Save, also puts the answer in first, so a sum is never lost.
Examples
| In the box | You type | You get |
|---|---|---|
| (empty) | 5000+381.25 then Tab |
5,381.25 |
| an item's rate | 45.5*4 then Tab |
182.00 |
| a quantity | 12/4 then Tab |
3 |
| an amount | 1,000+5 then Tab |
1,005.00 |
| 200.00 | +10% then Tab |
220.00 |
How a sum is worked out
- Multiplying and dividing come before adding and subtracting, as on a pocket calculator with brackets or in a spreadsheet:
2+3*4is 14. Use brackets to change the order:(2+3)*4is 20. - Commas and dollar signs in a figure are ignored:
1,000is one thousand. - Percent. After + or -, a percentage is a percentage of what comes before it, as on an adding machine:
200+10%is 220 and200-10%is 180. Anywhere else it is that many hundredths:200*10%is 20. - Rounding. The answer is rounded to the places the box shows: two for money, none for a box that takes whole numbers. A quantity box shows only the places the answer needs (3, 2.5).
- Dividing by zero shows Cannot divide by zero on the tape. Enter and Tab do nothing until you correct it with Backspace, and Esc leaves the box as it was.
- Only figures, + - * /, brackets and % are read. A letter typed during a sum is ignored.
A minus sign for a negative amount
A minus where a figure starts is a negative number, not a sum: in an empty box, or over a figure that is selected, -50 is minus fifty. A minus typed after a figure, with the cursor at its end, starts a subtraction.
Where a sum in the box works
Every figure box on the Aantar Books forms and lists, including:
- the lines of Create Invoices, estimates, sales orders, Enter Sales Receipts, Create Credit Memos/Refunds, Enter Bills, purchase orders and Enter Vendor Credits (quantity, rate or cost, amount), and the Expenses tab's AMOUNT;
- Write Cheques, Enter Credit Card Charges, Make Deposits and Make General Journal Entries (debits and credits);
- the amounts on Receive Payments and Pay Bills;
- the DISCOUNT box under a form's totals and the line discount pop-up;
- an item's price and cost;
- the amounts on Advanced Find.
It stays out of boxes that hold numbers but not figures, such as a bank account or transit number.
The calculator (F10)
Press F10, or choose Edit ▸ Use Calculator, to open the calculator over what you are doing. It has a keypad and a tape of the sums you have worked out.
Start typing as soon as you press F10: every key from then on goes to the calculator, the first digit included, even before its window has appeared. Nothing you type lands in the box behind it.
A window you can move
The calculator floats over the page; it does not darken the screen or lock the window behind it. That lets you add up figures while reading a report:
Drag its title bar (where it says Calculator) to move it out of the way. It stays on the screen, and it opens in the same place again until you close Aantar Books.
The page behind still works. Scroll a report, expand a line or click a figure while the calculator stays open beside it.
Where your typing goes. The calculator takes the keyboard while it has the cursor. Click in a box behind it and your typing goes to that box; click anywhere on the calculator, or press F10 again, and the keyboard is the calculator's again. (F10 never opens a second calculator.)
Type on the keyboard or click the keys: figures, + - * /, brackets and %.
= works the sum out onto the tape and keeps the answer to go on with.
Backspace takes off the last character; Delete or C clears.
Ctrl+C or Copy copies the answer, to paste anywhere. Ctrl+V pastes a sum into the calculator.
Esc (while the calculator has the keyboard) or the × closes it.
Putting the answer in the box
Opened from a figure box, the calculator starts with the box's figure. Use (or Enter) puts the answer in that box, rounded as a sum in the box is it, and puts the cursor back in the box.
Opened from anywhere else (the Home Page, a report, a text box), Use is greyed out: Enter works the sum out, and you copy the answer with Ctrl+C.
Note: F10 opens the calculator, so it no longer selects the menu bar as it does in other Windows programs; Alt with a menu's underlined letter opens the menus.
Common problems
The calculator is in the way. Drag it by its title bar; it opens there next time.
What I type goes into the form, not the calculator. You clicked a box behind it. Click the calculator, or press F10, to give it the keyboard back.
Typing + in a box puts nothing in it. That is a sum starting: look for the tape under the box. Press Esc to cancel it.
The answer has two decimal places in a quantity box. The box already held a figure with decimals, so the answer is shown the same way.
Related articles
Related articles
Something unclear or out of date? Write to support@aantar.com and name this page.