DbExpress Duvida

17/09/2004

0

Como faço para pegar a propriedade Fields.Origin da Query pois quando pego ela me traz em branco.


Mfrinfo

Mfrinfo

Responder

Posts

17/09/2004

Rômulo Barros

Indicates the name of the field in its original database table.

property Origin: String;

Description

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. 



Responder

Assista grátis a nossa aula inaugural

Assitir aula

Saiba por que programar é uma questão de
sobrevivência e como aprender sem riscos

Assistir agora

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar