Contents
Index 🔎︎

# Find Record

Vo formulároch alebo databázových tabuľkách môžete konkrétne hodnoty vyhľadávať v údajových poliach, zoznamoch a zaškrtávacích poliach.

Pre prístup k tomuto príkazu...

Find Record icon on the Table Data bar and Form Design bar.

Nájsť záznam

When searching a table, the data fields of the current table are searched. When searching in a form, the data fields of the table linked with the form are searched.

The search described here is carried out by LibreOffice. If you want to use the SQL server to search in a database, then you should use the Form-based Filters icon on the Form bar.

The search function is also available for table controls. When calling the search function from a table control, you can search each column of the table control corresponding to the database columns of the linked database table.

## Hľadaný výraz

Specifies the type of search.

## Text:

Zadajte hľadaný výraz do poľa alebo ho vyberte zo zoznamu. Text pod kurzorom je už skopírovaný do rozbaľovacieho poľa Text. Upozorňujeme, že počas vyhľadávania vo formulári nie je možné spracovávať tabulátory a zalomenia riadkov.

Your search terms will be saved as long as the table or the form document is open. If you are running more than one search and you would like to repeat the search term, you can select a previously used search term from the combo box.

## Obsah poľa je NULL

Určuje, že sa nájdu polia, ktoré neobsahujú žiadne dáta.

## Obsah poľa nie je NULL

Určuje, že sa nájdu polia, ktoré obsahujú dáta.

## Kde hľadať

Specifies the fields for the search.

## Formulár

Určuje logickú formu, v ktorej sa má vyhľadávanie uskutočniť.

The Form combo box is only visible if the current document is a form document with more than one logical form. It does not appear during a search in tables or queries.

Form documents may contain multiple logical forms. These are individual form components, which are each linked to a table.

The Form combo box contains the names of all logical forms for which controls exist.

## Všetky polia

Vyhľadáva vo všetkých poliach. Ak spúšťate vyhľadávanie v tabuľke, prehľadajú sa všetky polia v tabuľke. Ak hľadáte vo formulári, prehľadajú sa všetky polia formulára (zadané pod Formulár). Ak spustíte vyhľadávanie v riadiacom poli tabuľky, budú prehľadané všetky stĺpce, ktoré sú prepojené s platným poľom tabuľky databázy.

Note that the fields of the current logical form do not have to be identical to the fields of the form document. If the form document contains fields that point to multiple data sources (that is, multiple logical forms), the All Fields option will only search for the fields linked to data sources in the form document.

## Samostatné pole

Vyhľadáva v zadanom dátovom poli.

## Nastavenia

Defines settings to control the search.

## Umiestnenie

Určuje vzťah hľadaného výrazu a obsahu poľa. K dispozícii sú nasledujúce možnosti:

Position | Description
--- | ---
hocikde v poli | Returns all fields containing the search pattern anywhere in the field.
na začiatku poľa | Returns all fields containing the search pattern at the beginning of the field.
na konci poľa | Returns all fields containing the search pattern at the end of the field.
celé pole | Returns all fields containing the search pattern as an exact match to the contents of the field.

If the Wildcard expression check box is marked, this function is not available.

## Použiť formát poľa

Určuje, že sa pri vyhľadávaní v aktuálnom dokumente zohľadnia všetky formáty polí. Formáty polí sú všetky viditeľné formáty, ktoré sa vytvárajú pomocou nasledujúcich možností:

1. in table design mode for field properties,

2. in data source view on column formatting,

3. in forms on control properties.

If the Apply field format box is marked, the data source view of the table or form is searched using the formatting set there. If the box is not marked, the database is searched using the formatting saved in the database.

Príklad:

You have a date field, which is saved in "DD.MM.YY" format in the database (for example, 17.02.65). The format of the entry is changed in the data source view to "DD MMM YYYY" (17 Feb 1965). Following this example, a record containing February 17 is only found when the Apply field format option is on:

Použiť formát poľa | Search pattern
--- | ---
zapnúť | "Feb" is returned, but not "2".
vypnuté | "2" is returned, but not "Feb".

It is recommended that you always search using field formatting.

The following examples show possible issues when searching without field formatting. These issues depend on the database used and only occur for certain internal default formatting:

Search results | Cause
--- | ---
"5" returns "14:00:00" as a time. | Time fields are not defined for dBASE databases and must be simulated. To internally display the time "14:00:00", a "5" is necessary.
"00:00:00" returns all records of a standard date field. | The database stores a date value internally using a combined date/time field.
"45.79" does not return "45.79" although the entire field option is selected under Position. | The view shown does not match what is stored internally. For example, if value "45.789" is stored in the database as a field of type "Number/Double" and the shown formatting is set to display only two decimals, "45.79" is only returned in searches with field formatting.

In this case, standard formatting is formatting that refers to the internally stored data. It is not always visible to the user, especially if it is used for simulating data types (for example, time fields in dBASE databases). This depends on the database used and the individual data type. Searching with field formatting is appropriate if you only want to find what is actually shown. This includes fields of type Date, Time, Date/Time and Number/Double.

However, searching without Apply field format is appropriate for larger databases with no formatting issues, because it is faster.

If you are searching the values of check boxes, and Apply field format is on, then you will receive a "1" for marked check boxes, a "0" for unmarked check boxes, and an empty string for undefined (tristate) check boxes. If the search has been carried out with Apply field format set to off, you will see the language-dependent default values "TRUE" or "FALSE".

If you use Apply field format when searching in list boxes, you find the text displayed in list boxes. If you do not use Apply field format, you will find the contents corresponding to the standard field format.

## Rozlišovať veľkosť

Určuje, že pri hľadaní sa zohľadnia malé a veľké písmená.

## Spätné vyhľadávanie

Určuje, že proces vyhľadávania bude prebiehať opačným smerom, od posledného po prvý záznam.

## From top / From bottom

Reštartuje vyhľadávanie. Dopredné vyhľadávanie sa reštartuje od prvého záznamu. Spätné vyhľadávanie sa spustí od posledného záznamu.

## Výraz so zástupnými znakmi

You can use the following wildcards:

Wildcards | Význam | Príklad
--- | --- | ---
? | for exactly one arbitrary character | "?loppy" returns "Floppy" "M?ller" returns, for example, Miller and Moller
* | for 0 or more arbitrary characters | "*-*" returns "ZIP-Drive" and "CD-ROM" "M*er" returns all entries starting with an "M" and ending in "er" (for example, Miller, Moller, Mather)

If you want to search for the actual characters ? or *, precede them with a backslash: "\?" or "\*". However, this is only necessary when Wildcard expression is enabled. When the option is not enabled, the wildcard characters are processed like normal characters.

## Regulárny výraz

Vyhľadáva pomocou regulárnych výrazov. Rovnaké regulárne výrazy, ktoré sú podporované tu, sú podporované aj v dialógovom okne LibreOffice Nájsť & Nahradiť.

Searching with regular expressions offers more options than searching with wildcard expressions. If you search with regular expressions, the following characters correspond to those used in searches with wildcards:

Search with wildcard expression | Search with regular expressions
--- | ---
? | .
* | .*

## Hľadanie synoným

Find terms that are similar to the Find text. Select this checkbox, and then click the Similarities button to define the similarity options.

Match character width (only if Asian languages are enabled)

Distinguishes between half-width and full-width character forms.

Sounds like (Japanese) (only if Asian languages are enabled)

Lets you specify the search options for similar notation used in Japanese text. Select this checkbox, and then click the Sounds button to specify the search options.

Sets the search options for similar notation used in Japanese text.

### Považovať za rovnaké

Určuje možnosti, ktoré sa majú pri vyhľadávaní považovať za rovnaké.

### Ignorovať

Určuje znaky, ktoré sa majú ignorovať.

## Štát

The State line shows the records returned by the search. If the search reaches the end (or the beginning) of a table, the search is automatically continued at the other end.

In very large databases, finding the record in reverse search order can take some time. In this case, the status bar informs you that the records are still being counted.

## Search/Cancel

Ak je hľadanie úspešne dokončené, zvýrazní sa príslušné pole v tabuľke. Vo vyhľadávaní môžete pokračovať opakovaným kliknutím na tlačidlo Hľadať. Proces hľadania môžete zrušiť kliknutím na tlačidlo Zrušiť.

## Zatvoriť

Closes the dialog. The settings of the last search will be saved until you quit LibreOffice.

If several tables or forms are open, you can set different search options for each document. When you close the documents only the search options of the document last closed are saved.