Skip to main content

Lookup boxes, edit boxes and search windows

This page explains the windows that appear when you search for a card in a lookup box, and the right-click menus of lookup boxes and edit boxes. For the general explanation and an example of picking an account, see Lookup boxes and search windows.

Opening the window​

A search window opens in one of these ways:

  • Type part of the code or the name in the field and press Enter, or move to another field. If only one card is found for what you typed, or one card matches it exactly, the program puts it in the field without opening a window. This rule applies to the code, the name and the other search fields. The option Ignore Matching Value During Input in Program Options > Search turns off the exact match when other cards look like the text. A single card found is always put in the field.
  • To see all cards, press Enter in an empty field. If the file has no card of this kind, the program opens a new card.
  • Press F2 or F3 while you are in a field in a window (the older fields). In a grid cell F3 and Enter search, and F2 switches the edit mode. In an older field, F6 switches the text between the code and the name of the card.
  • Click the small button at the end of the lookup field, with the tip Search. It searches for the text in the field. A disabled field does not show it.

The window does not list the cards your security level does not let you browse. Each kind of field is described in Card items by field type, with the cards it opens.

All these ways open the search window, in fields such as accounts, materials, warehouses and currencies.

The newer search window with the toolbar at the top, the search field, the results in a grid and the result counter

This window appears in most fields. For each kind of search it remembers its size, its columns, their order, and the options Show All Results and the extra option. You can enlarge it. The default columns are Code and Name.

The search starts when the window opens with the text you typed in the field, and the results update as you change the text. When there are results, the window opens with the first one selected, and Enter picks it. To change the text, click the search field.

ItemWhat it does
New (Ctrl+N)Opens a new card and puts the typed text in it. After saving, the results update, and if one result is left the program picks it and closes the window. Appears for the kinds of search that have a card.
EditOpens the card of the selected row. Works when exactly one row is selected.
Select All (Ctrl+A) and Invert Selection (Ctrl+R)Appear in windows that allow selecting more than one row.
Search TypeA list of four types. F3 switches between the first three: Contains, Search for Words (Order) and Search for Words (Ignore order). The fourth, Matching, is chosen from the list only, and F3 does not go back from it to the first three.
Search FieldsA list of fields. Each field you tick becomes a column, and the program searches in it if it can be searched. Code and Name are always searched, and the window may add Latin Name and others. You cannot clear the last field.
Show All ResultsShows all results. Without it, the program shows a limited number of results, one hundred by default, and the counter shows the number shown and then the total, as in 100 / 523.
The Item selected counterAppears when more than one row is selected, and shows how many.
The extra optionA check box at the bottom of the window for some kinds of search, which shows the option of that kind.
The description boxExplains the current type.

The search finds the cards your security level allows you to browse, unless you are the system administrator. If the text starts with *, the program ignores that sign. If you type nothing, all cards appear, up to the limit above.

Double-clicking a row, or pressing Enter while a row is selected, picks the row and closes the window. The Ok button is disabled unless there is a current row.

In windows that allow more than one card, the option Extended Selection Mode in Program Options > Search changes how you select rows.

The four types​

TypeWhat you find
ContainsCards whose field contains the whole text anywhere.
Search for Words (Order)Cards in which the words you typed appear in the same order.
Search for Words (Ignore order)Cards that contain every word you typed, in any order.
MatchingCurrently works like Search for Words (Ignore order).

The window starts with the type that matches your choice in Program Options > Search (Search types), or with Contains if you never set the option. Contains matches Search for Initials. The two are saved as one setting but do not search the same way: Contains finds the text anywhere.

The window saves the current type each time it closes, even with Cancel, and the choice in Program Options changes with it. A type you switch in the newer lookup box is not saved.

If you turn on the option Ignore similar letters (affect speed of search over file level) in Program Options, the search in the Arabic interface treats the forms of alef, ta marbuta and ya as one letter.

The newer lookup box is a text box that shows a list of results under it while you type. It appears in report forms and elsewhere. Type part of the code or the name, and the matching cards appear in a drop-down list to pick from.

  • At the top of the list is the button New (Ctrl+N) to add a card, and Ctrl+N in the box does the same.
  • At the bottom of the list are the tools of the box: the result count, Show All Results, the Search Type button (F3), the Search Fields button and the extra option. F2 in the box switches the search type among the first three types.
  • If the list is closed, F3 or the Down Arrow opens it with the cards unfiltered.
  • When you move the pointer over a box that holds a card, a clear button appears to empty it, and an edit button that opens its card.
  • The list remembers its width, its height and its columns.

The type and field items are the same as in the newer search window.

Enter with the list open and no row marked picks the card whose code equals your text, else the first in the list. If you leave the box with other text, the card with that code or the only card left is taken; otherwise the box is emptied. F6 switches the text between the code and the name.

Card items by field type​

Right-click a lookup box. The menu has three parts in this order: the text items, then the exact and approximate search items if the field supports them, then the card items below. The card items appear only after the field holds a card. Each item opens the card or its report. In account, customer, destination, distributor, salesman and contact fields, the item does nothing if you have no permission to browse the card. Some other fields have one item that opens their card, such as the profit center and the production line.

Account fields​

ItemWhat it doesWhen it appears
Account CardOpens the account card.Always. Opening needs the permission Account Card.
LedgerOpens the ledger of this account.Appears in an account field if you have the permission for the Ledger report.
Customer cardOpens the card of the customer who owns the account.Only in the account field of the commercial paper window, if a customer card uses the account.
Customer StatementOpens the customer statement.Same condition as above.

The field for commercial papers and cheques shows Account Card and Ledger only, always.

Customer fields​

ItemWhat it doesWhen it appears
Customer cardOpens the customer card.Needs the permission Customer / Supplier.
Account StatementOpens the customer statement.Appears if you have the permission for the Customer Statement report.
LedgerOpens the ledger of the customer account.If you have the permission for the Ledger report.
Account Allocated BudgetOpens the budget report of the account.In the customer field of bills, orders, vouchers and commercial papers, if your licence includes the budget report.

The warehouse field​

It has Warehouse Card, which opens the card of the chosen warehouse. The item appears in warehouse fields that do not take a main warehouse, such as the field of a bill.

Address fields​

FieldItem
CountryCountry Card...
CityCity Card...
RegionRegion Card...

Each item opens the card window of the matching section directly.

The destination field​

It has one item that opens the card of the chosen destination, and opening needs the permission Destination Card. In this version the item appears in the menu without text.

Distributor, salesman and contact fields​

FieldItem
DistributorDistributor Card
SalesmanSalesman Card
ContactContact Card

Opening the distributor card needs the permission Distributor Card, and the salesman card needs the permission Salesman Card. The contact card also needs the permission Salesman Card.

Date fields​

Date fields add the following list after a separator, and it changes the value of the field directly:

ItemThe value it sets
Reconciliation DateThe reconciliation date that the window defines. Appears in the fields that support it only.
Today (F2)Today's date.
Month BeginningThe first day of the month of the date now in the field.
Month EndThe last day of the month of the date now in the field.
Year BeginningThe first day of the year of the date now in the field.
Year EndThe last day of the year of the date now in the field.
Beginning of PeriodThe opening date of the accounting period.

See Date fields and calendar.

Text items​

They appear in every text box, in a grid cell and in a formatted text box, and they are the first items of the menu of a lookup box. In a grid cell the items act on its whole value; see The editable cell.

ItemWhat it does
Undo (Alt+Backspace)Undoes the last edit. Dimmed when there is nothing to undo.
Cut (Shift+Delete)Moves the selected text to the clipboard.
Copy (Ctrl+Insert)Copies the selected text.
Paste (Shift+Insert)Pastes the clipboard text. Dimmed when the clipboard holds no text.
Delete (Delete)Deletes the selected text.
ClearClears all the text. Dimmed when the box is empty.

Cut, Copy and Delete are dimmed when no text is selected.

Ctrl+F9 rewrites text typed with the wrong keyboard language in the other one.

Exact and approximate search items​

They appear in the code and name boxes at the top of the cards that let you look for an existing card. They come after the text items, and they appear in fields that support one of the two searches; the items of the other are dimmed.

ItemWhat it does
Search First (F7)Moves the card to the first card whose field exactly matches what you typed.
Search Next (F8)Goes to the next matching card. Dimmed before a search starts.
Search Previous (Shift+F8)Goes to the previous matching card. Dimmed before a search starts.
Seek First (F4)Moves the card to the first card whose field contains the typed text anywhere.
Seek Next (F5)Goes to the next card. Dimmed before a search starts.
Seek Previous (Shift+F5)Goes to the previous card. Dimmed before a search starts.

The search does not work if the card has changes you did not save and you did not confirm ignoring them.

Messages​

MessageWhy it appearsWhat to do
No matching letters foundNo card matches the text in Search First or Seek First.Change the text, or try Seek First.
End of search. Can't search for next!You asked for the next card while on the last matching card.Start the search again, or choose Seek Previous.
Start of search. Can't search for previous!You asked for the previous card while on the first matching card.Choose Seek Next.

This page applies to alameen ERP 10, version 10.1.79.764.