데이터

데이터 νƒ­ νŽ˜μ΄μ§€λŠ” μ—°κ²°λœ λ°μ΄ν„°λ² μ΄μŠ€λ₯Ό μ°Έμ‘°ν•˜λŠ” 양식 속성을 μ§€μ •ν•©λ‹ˆλ‹€.

μ–‘μ‹μ˜ 기반이 λ˜λŠ” 데이터 원본을 μ§€μ •ν•˜κ±°λ‚˜ ν•΄λ‹Ή 데이터λ₯Ό νŽΈμ§‘ν•  수 μžˆλŠ”μ§€ μ—¬λΆ€λ₯Ό μ§€μ •ν•©λ‹ˆλ‹€. μ •λ ¬ 및 ν•„ν„° κΈ°λŠ₯ 외에도 ν•˜μœ„ 양식을 λ§Œλ“œλŠ” 데 ν•„μš”ν•œ λͺ¨λ“  속성을 찾을 수 μžˆμŠ΅λ‹ˆλ‹€.

이 λͺ…령을 μ‚¬μš©ν•˜λ €λ©΄...

Open context menu of a selected form element - choose Form Properties - Data tab.

Open Form Design toolbar, click Form Properties icon - Data tab.


...둜 링크

If you create a subform, enter the variable where possible values from the parent form field can be stored. If a subform is based on a query, enter the variable that you defined in the query. If you create a form using an SQL statement entered in the Data source field, enter the variable you used in the statement. You can choose any variable name. If you want to enter multiple values, press Shift + Enter.

λ§ˆμŠ€ν„° ν•„λ“œ μ—°κ²°μ˜ μƒμœ„ ν•„λ“œλ‘œμ„œ 예λ₯Ό λ“€μ–΄ "고객ID" 데이터 ν•„λ“œλ₯Ό μ§€μ •ν•˜μ˜€μœΌλ©΄ 슬레이브 ν•„λ“œ μ—°κ²°μ—μ„œ λ³€μˆ˜μ˜ 이름을 μ§€μ •ν•˜μ‹­μ‹œμ˜€. 이 λ³€μˆ˜μ—μ„œ "고객 ID" 데이터 ν•„λ“œμ˜ 값이 νŒλ…λ©λ‹ˆλ‹€. 이제 이 λ³€μˆ˜λ₯Ό μ΄μš©ν•˜μ—¬ SQL 문을 데이터 원본 ν•„λ“œμ— μ§€μ •ν•˜λ©΄ μ ν•©ν•œ 값이 ν•˜μœ„ 양식에 ν‘œμ‹œλ©λ‹ˆλ‹€.

SQL λͺ…λ Ή 뢄석

Specifies whether the SQL statement is to be analyzed by LibreOffice. If set to Yes, you can click the ... button next to the Content list box. This will open a window where you can graphically create a database query. When you close that window, the SQL statement for the created query will be inserted in the Content list box.

λ‚΄μš©

Determines the content to be used for the form. The content can be an existing table or a query (previously created in the database), or it can be defined by an SQL-statement. Before you enter a content you have to define the exact type in Content type.

λ‚΄μš© μœ ν˜•μ—μ„œ "ν…Œμ΄λΈ”" λ˜λŠ” "쿼리"λ₯Ό μ„ νƒν•˜λ©΄ μ„ νƒν•œ λ°μ΄ν„°λ² μ΄μŠ€μ— μ„€μ •λœ λͺ¨λ“  ν…Œμ΄λΈ”κ³Ό 쿼리가 μƒμžμ— λ‚˜μ—΄λ©λ‹ˆλ‹€.

데이터 원본

Defines the data source to which the form should refer. If you click the ... button, you call the Open dialog, where you can choose a data source.

데이터 μ›λ³Έμ˜ μœ ν˜•

κΈ°μ‘΄ λ°μ΄ν„°λ² μ΄μŠ€ ν…Œμ΄λΈ” λ˜λŠ” 쿼리λ₯Ό 데이터 μ›λ³ΈμœΌλ‘œ μ‚¬μš©ν•  것인지 λ˜λŠ” SQL 문을 기반으둜 양식을 λ§Œλ“€ 것인지 μ§€μ •ν•©λ‹ˆλ‹€.

ν…Œμ΄λΈ” λ˜λŠ” "쿼리"λ₯Ό μ„ νƒν•˜λ©΄ 양식은 데이터 원본에 μ§€μ •ν•œ ν…Œμ΄λΈ” λ˜λŠ” 쿼리λ₯Ό μ°Έμ‘°ν•©λ‹ˆλ‹€. μƒˆ μΏΌλ¦¬λ‚˜ ν•˜μœ„ 양식을 λ§Œλ“€λ €λ©΄ "SQL" μ˜΅μ…˜μ„ 선택해야 ν•©λ‹ˆλ‹€. 그런 λ‹€μŒ λͺ©λ‘ λ‚΄μš© μƒμžμ— 직접 SQL 쿼리 λ˜λŠ” ν•˜μœ„ 양식 문을 μž…λ ₯ν•  수 μžˆμŠ΅λ‹ˆλ‹€. 양식은 μ§€μ •ν•œ 문을 기반으둜 μƒμ„±λ©λ‹ˆλ‹€.

λ°μ΄ν„°λ§Œ μΆ”κ°€

Determines if the form only allows the addition of new data (Yes) or if it allows other properties as well (No).

note

λ°μ΄ν„°λ§Œ μΆ”κ°€λ₯Ό "예"둜 μ„€μ •ν•˜λ©΄ 데이터λ₯Ό λ³€κ²½ν•˜κ±°λ‚˜ μ‚­μ œν•  수 μ—†μŠ΅λ‹ˆλ‹€.


λ§ˆμŠ€ν„° ν•„λ“œ 링크

If you create a subform, enter the data field of the parent form responsible for the synchronization between parent and subform. To enter multiple values, press Shift + Enter after each input line.

The subform is based on an SQL query; more specifically, on a Parameter Query. If a field name is entered in the Link master fields box, the data contained in that field in the main form is read to a variable that you must enter in Link slave fields. In an appropriate SQL statement, this variable is compared to the table data that the subform refers to. Alternatively, you can enter the column name in the Link master fields box.

이에 덧뢙여 λ‹€μŒμ˜ 예λ₯Ό κ΄€μ°°ν•˜μ‹­μ‹œμ˜€:

양식을 κΈ°μ΄ˆλ‘œν•˜λŠ” λ°μ΄ν„°λ² μ΄μŠ€ ν…Œμ΄λΈ”μ€ 예λ₯Ό λ“€μ–΄ λͺ…ν™•ν•œ 번호둜 각 고객을 식별할 수 μžˆλŠ” 고객 λ°μ΄ν„°λ² μ΄μŠ€("고객"), μžμ„Ένžˆ λ§ν•˜λ©΄ "고객_ID"λΌλŠ” μ΄λ¦„μ˜ 데이터 ν•„λ“œλ₯Ό κ°–λŠ” 고객 λ°μ΄ν„°λ² μ΄μŠ€κ°€ 될 수 μžˆμŠ΅λ‹ˆλ‹€. 고객의 주문은 λ‹€λ₯Έ λ°μ΄ν„°λ² μ΄μŠ€ ν…Œμ΄λΈ”μ—μ„œ κ΄€λ¦¬ν•©λ‹ˆλ‹€. 이제 양식에 μž…λ ₯λ˜λŠ” 각 고객에 λŒ€ν•œ 주문을 보고자 ν•©λ‹ˆλ‹€. λ˜ν•œ ν•˜μœ„ 양식을 λ§Œλ“€κ³  ...λ‘œλΆ€ν„° λ§ν¬μ—μ„œ 고객이 μ •ν™•νžˆ 식별될 수 μžˆλŠ” 고객 λ°μ΄ν„°λ² μ΄μŠ€μ˜ 데이터 ν•„λ“œ, 즉 "고객_ID"(λ”°μ˜΄ν‘œ μ œμ™Έ)λ₯Ό μž…λ ₯ν•©λ‹ˆλ‹€. ...둜 λ§ν¬μ—μ„œ 고객_ID ν•„λ“œμ˜ 데이터λ₯Ό μΆ”κ°€ν•΄μ•Ό ν•˜λŠ” λ³€μˆ˜μ˜ 이름 즉, 예λ₯Ό λ“€μ–΄ "x"λ₯Ό μž…λ ₯ν•©λ‹ˆλ‹€.

ν•˜μœ„ 양식은 μ£Όλ¬Έ ν…Œμ΄λΈ”μ—μ„œ 각 고객 ID에 ν•΄λ‹Ήν•˜λŠ” μ μ ˆν•œ 데이터λ₯Ό ν‘œμ‹œν•΄μ•Ό ν•©λ‹ˆλ‹€(Customer_ID -> x). μ΄λŠ” μ£Όλ¬Έ ν…Œμ΄λΈ”μ—μ„œ 각 주문이 1λͺ…μ˜ κ³ κ°μ—κ²Œλ§Œ ν• λ‹Ήλœ κ²½μš°μ—λ§Œ κ°€λŠ₯ν•©λ‹ˆλ‹€. λ˜ν•œ Customer_IDλΌλŠ” μ΄λ¦„μ˜ 또 λ‹€λ₯Έ ν•„λ“œλ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. κ·ΈλŸ¬λ‚˜ μ£Ό μ–‘μ‹μ˜ 같은 ν•„λ“œμ™€ ν˜Όλ™ν•˜μ§€ μ•Šλ„λ‘ 이 ν•„λ“œλ₯Ό Customer_Number으둜 λΆ€λ₯΄κΈ°λ‘œ ν•©λ‹ˆλ‹€.

이제 "Orders" ν…Œμ΄λΈ”μ˜ Customer_Numberλ₯Ό "Customers" ν…Œμ΄λΈ”μ˜ Customer_ID와 λΉ„κ΅ν•©λ‹ˆλ‹€. 예λ₯Ό λ“€μ–΄ λ‹€μŒ SQL λͺ…λ Ήμ²˜λŸΌ x λ³€μˆ˜λ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

SELECT * FROM μ£Όλ¬Έ WHERE 고객_Nr =: x (ν•˜μœ„ 양식이 μ£Όλ¬Έ ν…Œμ΄λΈ”μ˜ λͺ¨λ“  데이터λ₯Ό ν‘œμ‹œν•΄μ•Ό ν•˜λŠ” 경우)

λ˜λŠ”:

SELECT ν•­λͺ© FROM μ£Όλ¬Έ WHERE 고객_Nr =: x (μ£Όλ¬Έ ν‘œμ˜ 양식이 "ν•­λͺ©" ν•„λ“œμ˜ λ°μ΄ν„°λ§Œμ„ ν‘œμ‹œν•΄μ•Ό ν•˜λŠ” 경우)

SQL 문은 데이터 원본 ν•„λ“œμ— μž…λ ₯ν•˜κ±°λ‚˜, μ•„λ‹ˆλ©΄ ν•˜μœ„ 양식을 λ§Œλ“œλŠ” 데 μ ν•©ν•œ 맀개 λ³€μˆ˜ 쿼리λ₯Ό μž‘μ„±ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

사이클

Determines how the navigation should be done using the tab key. Using the tab key, you can move forward in the form. If you simultaneously press the Shift key, the navigation will follow the opposite direction. If you reach the last (or the first) field and press the tab key again, it can have various effects. Define the key control with the following options:

μ˜΅μ…˜

의미

κΈ°λ³Έ

이 μ„€μ •μœΌλ‘œ 기쑴의 λ°μ΄ν„°λ² μ΄μŠ€ 연결에 λ§žμΆ°μ§€λŠ” 사이클이 μžλ™μœΌλ‘œ μ •μ˜λ©λ‹ˆλ‹€: 양식에 λ°μ΄ν„°λ² μ΄μŠ€ 연결이 μ‘΄μž¬ν•˜λ©΄ λ§ˆμ§€λ§‰ ν•„λ“œλ₯Ό μ’…λ£Œν•  λ•Œ νƒ­ ν‚€λ₯Ό μ΄μš©ν•˜μ—¬ 기쀀에 따라 λ‹€μŒ/이전 데이터 λ ˆμ½”λ“œλ‘œ λ³€κ²½ν•  수 μžˆμŠ΅λ‹ˆλ‹€(λͺ¨λ“  데이터 λ ˆμ½”λ“œ μ°Έμ‘°). λ°μ΄ν„°λ² μ΄μŠ€ μ—°κ²° 없이 λ‹€μŒ/이전 μ–‘μ‹μœΌλ‘œ λ³€κ²½λ©λ‹ˆλ‹€(ν˜„μž¬ νŽ˜μ΄μ§€ μ°Έμ‘°).

λͺ¨λ“  λ ˆμ½”λ“œ

이 μ˜΅μ…˜μ€ λ°μ΄ν„°λ² μ΄μŠ€ μ–‘μ‹μ—λ§Œ 적용되며 λͺ¨λ“  λ ˆμ½”λ“œλ₯Ό 탐색할 λ•Œ μ‚¬μš©ν•©λ‹ˆλ‹€. Tab ν‚€λ₯Ό μ‚¬μš©ν•˜μ—¬ μ–‘μ‹μ˜ λ§ˆμ§€λ§‰ ν•„λ“œλ₯Ό λΉ μ Έ λ‚˜μ˜€λ©΄ ν˜„μž¬ λ ˆμ½”λ“œκ°€ λ°”λ€λ‹ˆλ‹€.

ν˜„μž¬ λ°μ΄ν„°λ ˆμ½”λ“œ

이 μ˜΅μ…˜μ€ λ°μ΄ν„°λ² μ΄μŠ€ μ–‘μ‹μ—λ§Œ 적용되며 ν˜„μž¬ λ ˆμ½”λ“œ λ‚΄μ—μ„œ νƒμƒ‰ν•˜λŠ” 데 μ‚¬μš©ν•©λ‹ˆλ‹€. Tab ν‚€λ₯Ό μ‚¬μš©ν•˜μ—¬ μ–‘μ‹μ˜ λ§ˆμ§€λ§‰ ν•„λ“œλ₯Ό λΉ μ Έ λ‚˜μ˜€λ©΄ ν˜„μž¬ λ ˆμ½”λ“œκ°€ λ°”λ€λ‹ˆλ‹€.

ν˜„μž¬ νŽ˜μ΄μ§€

μ–‘μ‹μ˜ λ§ˆμ§€λ§‰ ν•„λ“œλ₯Ό λΉ μ Έ λ‚˜μ˜¬ λ•Œ μ»€μ„œλŠ” λ‹€μŒ μ–‘μ‹μ˜ 첫 번째 ν•„λ“œλ‘œ μ΄λ™ν•©λ‹ˆλ‹€. μ΄λŠ” HTML μ–‘μ‹μ˜ ν‘œμ€€ λ°©μ‹μž…λ‹ˆλ‹€. λ”°λΌμ„œ 이 μ˜΅μ…˜μ€ 특히 HTML 양식과 κ΄€λ ¨ μžˆμŠ΅λ‹ˆλ‹€.


μ‚­μ œ ν—ˆμš©

Determines if the data can be deleted.

μˆ˜μ • ν—ˆμš©

Determines if the data can be modified.

μ •λ ¬

Specifies the conditions to sort the data in the form. The specification of the sorting conditions follows SQL rules without the use of the ORDER BY clause. For example, if you want all records of a database to be sorted in one field in an ascending order and in another field in a descending order, enter Forename ASC, Name DESC (presuming Forename and Name are the names of the data fields).

μ •λ ¬ν•˜λ €λ©΄ μ‚¬μš©μž λͺ¨λ“œμ—μ„œ 양식 탐색 ν‘œμ‹œμ€„μ˜ μ μ ˆν•œ μ•„μ΄μ½˜(μ˜€λ¦„μ°¨μˆœ μ •λ ¬, λ‚΄λ¦Όμ°¨μˆœ μ •λ ¬ 및 μ •λ ¬)을 μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

μΆ”κ°€ ν—ˆμš©

Determines if data can be added.

탐색 ν‘œμ‹œμ€„

Specifies whether the navigation functions in the lower form bar can be used.

"μƒμœ„ 양식" μ˜΅μ…˜μ€ ν•˜μœ„ 양식을 μœ„ν•œ κ²ƒμž…λ‹ˆλ‹€. ν•˜μœ„ 양식에 λŒ€ν•΄ 이 μ˜΅μ…˜μ„ μ„ νƒν•˜λ©΄ μ»€μ„œκ°€ ν•˜μœ„ 양식에 μœ„μΉ˜ν•  경우 μ£Ό μ–‘μ‹μ˜ 데이터 λ ˆμ½”λ“œλ₯Ό 톡해 탐색할 수 μžˆμŠ΅λ‹ˆλ‹€. ν•˜μœ„ 양식이 1:1 관계λ₯Ό 톡해 μ£Ό 양식과 μ—°κ²°λ˜λ―€λ‘œ λ‚΄λΉ„κ²Œμ΄μ…˜μ€ ν•˜μœ„ 양식 λ‚΄μ—μ„œ μ˜λ―Έκ°€ μ—†μŠ΅λ‹ˆλ‹€. λ‚΄λΉ„κ²Œμ΄μ…˜μ€ 항상 μƒμœ„ μ–‘μ‹μ—μ„œ μ‹€ν–‰λ©λ‹ˆλ‹€.

ν•„ν„°

Enter the required conditions for filtering the data in the form. The filter specifications follow SQL rules without using the WHERE clause. For example, if you want to display all records with the "Mike" forename, type into the data field: Forename = 'Mike'. You can also combine conditions: Forename = 'Mike' OR Forename = 'Peter'. All records matching either of these two conditions will be displayed.

μ‚¬μš©μž λͺ¨λ“œμ—μ„œ 양식 탐색 ν‘œμ‹œμ€„μ˜ μžλ™ν•„ν„° 및 κΈ°λ³Έ ν•„ν„° μ•„μ΄μ½˜μ„ 톡해 ν•„ν„° ν•¨μˆ˜λ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

ν•˜μœ„ 양식이 λ¬΄μ—‡μž…λ‹ˆκΉŒ?

양식은 λ°μ΄ν„°λ² μ΄μŠ€ ν…Œμ΄λΈ” λ˜λŠ” λ°μ΄ν„°λ² μ΄μŠ€ 쿼리λ₯Ό 기초둜 λ§Œλ“€μ–΄μ§‘λ‹ˆλ‹€. 양식은 데이터λ₯Ό μ‹œκ°μ μœΌλ‘œ μ„ λ³„ν•˜μ—¬ ν‘œμ‹œν•˜λ©°, μƒˆλ‘œμš΄ λ°μ΄ν„°μ˜ μž…λ ₯ λ˜λŠ” 기쑴의 λ°μ΄ν„°μ˜ 변경에 μ‚¬μš©λ©λ‹ˆλ‹€. 이 λ°μ΄ν„°λŠ” 양식을 기초둜 λ§Œλ“€μ–΄μ§„ λ°μ΄ν„°λ² μ΄μŠ€ ν…Œμ΄λΈ” λ˜λŠ” 쿼리에 μ €μž₯λ©λ‹ˆλ‹€.

If you require a form that can refer to the data in a table or query and can additionally display data from another table, you should create a subform. For example, this subform can be a text box that displays the data of another database table.

ν•˜μœ„ 양식은 μ£Ό μ–‘μ‹μ˜ μΆ”κ°€ ꡬ성 μš”μ†Œμž…λ‹ˆλ‹€. μ£Ό 양식은 "μƒμœ„ 양식" λ˜λŠ” "λ§ˆμŠ€ν„°"라고 ν•©λ‹ˆλ‹€. ν•˜μœ„ 양식은 νŠΉμ • μ–‘μ‹μ—μ„œ 두 개 μ΄μƒμ˜ ν…Œμ΄λΈ”μ— μ•‘μ„ΈμŠ€ν•  λ•Œ ν•„μš”ν•©λ‹ˆλ‹€. λͺ¨λ“  μΆ”κ°€ ν…Œμ΄λΈ”μ— ν•΄λ‹Ή ν•˜μœ„ 양식이 ν•„μš”ν•©λ‹ˆλ‹€.

양식을 λ§Œλ“  ν›„ ν•˜μœ„ μ–‘μ‹μœΌλ‘œ λ³€κ²½ν•  수 μžˆμŠ΅λ‹ˆλ‹€. μ΄λ ‡κ²Œ ν•˜λ €λ©΄ λ””μžμΈ λͺ¨λ“œλ₯Ό μ‹œμž‘ν•˜κ³  양식 λ‚΄λΉ„κ²Œμ΄ν„°λ₯Ό μ—½λ‹ˆλ‹€. 양식 λ‚΄λΉ„κ²Œμ΄ν„°μ—μ„œ ν•˜μœ„ 양식이 될 양식을 λ§ˆμŠ€ν„°κ°€ 될 λ‹€λ₯Έ μ–‘μ‹μœΌλ‘œ λ•λ‹ˆλ‹€.

νŠΉμ • 양식에 ν•˜μœ„ 양식이 μžˆμ–΄λ„ λ¬Έμ„œμ˜ μ‚¬μš©μžμ—κ²ŒλŠ” ν‘œμ‹œλ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. μ‚¬μš©μžλŠ” 데이터λ₯Ό μž…λ ₯ν•˜κ±°λ‚˜ κΈ°μ‘΄ 데이터가 ν‘œμ‹œλ˜λŠ” λ¬Έμ„œλ§Œ λ³Ό 수 μžˆμŠ΅λ‹ˆλ‹€.

λ§ˆμŠ€ν„° μ–‘μ‹μ˜ 데이터 ν•„λ“œμ—μ„œ [λ§ˆμŠ€ν„° ν•„λ“œ μ—°κ²°]을 μ§€μ •ν•©λ‹ˆλ‹€. ν•˜μœ„ μ–‘μ‹μ—μ„œ [슬레이브 ν•„λ“œ μ—°κ²°]을 [λ§ˆμŠ€ν„° ν•„λ“œ μ—°κ²°] λ‚΄μš©κ³Ό μΌμΉ˜λ˜λŠ” ν•„λ“œλ‘œ μ„€μ •ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

μ‚¬μš©μžκ°€ 데이터λ₯Ό νƒμƒ‰ν•˜λ©΄ 양식에 항상 ν˜„μž¬ 데이터 λ ˆμ½”λ“œκ°€ ν‘œμ‹œλ©λ‹ˆλ‹€. ν•˜μœ„ 양식이 μ •μ˜λ˜μ–΄ μžˆλŠ” 경우 μ•½ 20ms의 짧은 지연 후에 ν•˜μœ„ μ–‘μ‹μ˜ λ‚΄μš©μ΄ ν‘œμ‹œλ˜λ―€λ‘œ λ§ˆμŠ€ν„° μ–‘μ‹μ˜ 데이터 λ ˆμ½”λ“œλ₯Ό μ‹ μ†ν•˜κ²Œ 탐색할 수 μžˆμŠ΅λ‹ˆλ‹€. 지연 μ œν•œ 내에 λ‹€μŒ λ§ˆμŠ€ν„° 데이터 λ ˆμ½”λ“œλ‘œ μ΄λ™ν•˜λ©΄ ν•˜μœ„ 양식 데이터λ₯Ό κ²€μƒ‰ν•˜μ—¬ ν‘œμ‹œν•  ν•„μš”κ°€ μ—†μŠ΅λ‹ˆλ‹€.

Please support us!