|
|
|
|
|
RowDetailsBinding (Property) In french: LiaisonsDétailLigne
Warning
From version 26, LinksLineDetails is kept for backward compatibility. This property has been replaced with RowDetailsBinding.
The property LineDetailLinks property lets you identify and modify the data binding used to display line details in a Table field linked to a data file. Reminder The details of a line are a "sub-table" displayed below the line when the user clicks [+] in front of the line or double-clicks on the line in the Table control.
TABLE_CLIENT.LiaisonsDétailLigne = "IDCLIENT:COMMANDE.IDCLIENT"
TABLE_CLIENT.LiaisonsDétailLigne = "CP:VILLE.CP:NOM"
TABLE_CLIENT.LiaisonsDétailLigne = [
IDCLIENT:COMMANDE.IDCLIENT
CP:VILLE.CP:NOM,DEPARTEMENT
]
Syntax
Identifying the data binding used to display the details of a row in a data-bound Table control Hide the details
<Result> = <data-bound Table control>.RowDetailsBinding
<Result>: Constant or character string Current binding:
| | lldNone | No binding was defined. No detail is displayed in the data-bound Table control when clicking the "[+]" sign or when double-clicking the row. | lldAutomatic | The links defined in the analysis are used to find the data from the linked data files to be displayed. If several data files are bound in the analysis, the user will be able to choose the file to display in the details via a context menu. | Character string | The binding is customized. The detailed window displays the specified data. This string has the following format:
ITEM:FILEA.ITEMA:DispItem1,DispItem2,DispItem3<CR> ITEM2:FILEB.ITEMB where: - ITEM,ITEM2 are the items found in the main search file of Table control,
- FILEA,FILEB are the bound data files that will be displayed in detail,
- ITEMA, ITEMB are the items bound to the ITEM, ITEM2 items in these files,
- DispItem1, DispItem2, DispItem3 are the items found in FILEA that will be displayed in detail. If this element is not filled, all visible analysis items will be displayed.
For example, the line: OrderRef:QRY_OrderLine.ParamOrderRef:VISUAL,REF, CAPTION,UNITPRICE,QUANTITY,TOTALBT binds the OrderRef item in the Table control to the ParamOrderRef item in the QRY_OrderLine query. The items displayed in the detailed window are the VISUAL, REF, CAPTION, UNITPRICE, QUANTITY, TOTALBT items of query result. |
<data-bound Table control>: Control name Name of the data-bound Table control to be used.
Modifying the data binding used to display the details of a row in a data-bound Table control Hide the details
<data-bound Table control>.RowDetailsBinding = <New value>
<data-bound Table control>: Control name Name of the data-bound Table control to be used. <New value>: Constant or character string New link:
| | lldNone | No binding was defined. No detail is displayed in the data-bound Table control when clicking the "[+]" sign or when double-clicking the row. | lldAutomatic | The links defined in the analysis are used to find the data from the linked data files to be displayed. If several data files are bound in the analysis, the user will be able to choose the file to display in the details via a context menu. | Character string | The binding is customized. The detailed window displays the specified data. This string has the following format:
ITEM:FILEA.ITEMA:DispItem1,DispItem2,DispItem3<CR> ITEM2:FILEB.ITEMB where: - ITEM,ITEM2 are the items found in the main search file of Table control,
- FILEA,FILEB are the bound data files that will be displayed in detail,
- ITEMA, ITEMB are the items bound to the ITEM, ITEM2 items in these files,
- DispItem1, DispItem2, DispItem3 are the items found in FILEA that will be displayed in detail. If this element is not filled, all visible analysis items will be displayed.
For example, the line: OrderRef:QRY_OrderLine.ParamOrderRef:VISUAL,REF, CAPTION,UNITPRICE,QUANTITY,TOTALBT binds the OrderRef item in the Table control to the ParamOrderRef item in the QRY_OrderLine query. The items displayed in the detailed window are the VISUAL, REF, CAPTION, UNITPRICE, QUANTITY, TOTALBT items of query result. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|