Registriert seit: 28. Apr 2008
Ort: Stolberg (Rhl)
6.659 Beiträge
FreePascal / Lazarus
|
AW: TQuery -> Tabelle und Spalte über Spaltenalias ermitteln ?
8. Okt 2012, 14:50
kann funktionieren:
Zitat:
DescriptionIndicates the name of the field in its original database table.
Origin is only assigned at design time by the Fields editor, and only when the field component is used by a TQuery object. The Origin property distinguishes the name of the field as it appears in its dataset from the name of the field in the base table on which it is based. For example, in a query that uses the following SQL statement, the value of Origin is CUSTOMER.CUSTNO.
SELECT CUSTNO AS ID FROM CUSTOMER
In this case, the FieldName property is ID.
Note: Origin is not available on Linux. The Origin property is only implemented for BDE-enabled datasets, which appear only in the Windows product.
Gruß
K-H
Programme gehorchen nicht Deinen Absichten sondern Deinen Anweisungen
R.E.D retired error detector
|
|
Zitat
|