Difference between revisions of "FileMan Delphi Components/TFMLister"
DavidWhitten (talk | contribs) |
(Added glossary link to Record~) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 15: | Line 15: | ||
== Description == | == Description == | ||
− | The purpose of the TFMLister component is to retrieve a list of VA FileMan | + | The purpose of the TFMLister component is to retrieve a list of VA FileMan [[record~|Record]]s from the server. [[Record~|Record]]s are retrieved into the TFMLister's Results property. TFMLister is a wrapper around the LIST^DIC Database Server (DBS) call. |
− | You can use a '''TFMLister''' by itself, to directly retrieve a list of | + | You can use a '''TFMLister''' by itself, to directly retrieve a list of [[record~|Record]]s from the server: |
* [[FileMan_Delphi_Components/Retrieve_Records_With_TFMLister|How to retrieve a list of records with TFMLister]] | * [[FileMan_Delphi_Components/Retrieve_Records_With_TFMLister|How to retrieve a list of records with TFMLister]] | ||
Line 26: | Line 26: | ||
== Returned Structure == | == Returned Structure == | ||
− | The structure of each returned | + | The structure of each returned TFM[[Record~|Record]]Obj is: |
− | <table> | + | <table border=1> |
− | <tr><td>RecObj.IEN</td><td>IEN of the record.</td></tr> | + | <tr><th>Object</th><th>Description</th></tr> |
+ | <tr><td>RecObj.IEN</td><td>IEN of the [[record~|Record]].</td></tr> | ||
<tr><td>RecObj.FMFldValues</td><td>TFMFieldObj objects for fields requested in FieldNumbers.</td></tr> | <tr><td>RecObj.FMFldValues</td><td>TFMFieldObj objects for fields requested in FieldNumbers.</td></tr> | ||
<tr><td>RecObj.FMIXExternalValues</td><td>external form of index value(s) (TFMLister only) if requested.</td></tr> | <tr><td>RecObj.FMIXExternalValues</td><td>external form of index value(s) (TFMLister only) if requested.</td></tr> |
Latest revision as of 13:33, 7 April 2012
Contents
TFMLister Component
- TFMLister Component Properties
- TFMLister Component Methods
- TFMLister Component Example
- See Also related topics
- Defined in the Fmcmpnts Unit
Parent Class
TFMLister = class(TFMAccess)
Description
The purpose of the TFMLister component is to retrieve a list of VA FileMan Records from the server. Records are retrieved into the TFMLister's Results property. TFMLister is a wrapper around the LIST^DIC Database Server (DBS) call.
You can use a TFMLister by itself, to directly retrieve a list of Records from the server:
You can also use the TFMLister in conjuction with list-type VA FileMan data controls to edit pointer fields:
Returned Structure
The structure of each returned TFMRecordObj is:
Object | Description |
---|---|
RecObj.IEN | IEN of the Record. |
RecObj.FMFldValues | TFMFieldObj objects for fields requested in FieldNumbers. |
RecObj.FMIXExternalValues | external form of index value(s) (TFMLister only) if requested. |
RecObj.FMIXInternalValues | internal form of index value(s) (TFMLister only) if requested. |
RecObj.FMWIDValues | Write Identifier of a file and the Identifier parameter result. |
RecObj.Objects | Place to associate your own object. |
When to Use TFMFinder Instead of TFMLister
The TFMFinder can be useful in certain cases where the TFMLister is not. In particular, the TFMLister looks up internal values when you use its PartList property. If the value you need to search on is an external value, you may want to use the TFMFinder instead.
Descriptions of properties inherited from the parent component are not listed here (only those properties added to the parent component are described).
For help on inherited properties, please refer to Delphi's documentation on the parent component.