TField.Origin

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tinof
Posts: 39
Joined: Fri 16 Dec 2005 07:41

TField.Origin

Post by tinof » Thu 20 Aug 2009 07:06

Hi,
i have a problem with Tfield.Origin - Property in a MSQuery-Komponent:

e.g.

Code: Select all

CREATE TABLE Table1( 
ID1 Integer NOT NULL,
Data nVarchar(50)
)

SELECT Table1.ID1, Table1.Data FROM Table1
MSQuery1.FieldByName('ID1').origin returns "Table1.ID1" - as i expected.

If i set MSQuery1.readonly = true

MSQuery1.FieldByName('ID1').origin returns only "."

Why does SDAC so ?

Thank's for help
Tino

edit: SDAC 4.70.0.48, Delphi 2009

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Fri 21 Aug 2009 08:06


tinof
Posts: 39
Joined: Fri 16 Dec 2005 07:41

Post by tinof » Fri 21 Aug 2009 08:51

Oh, sorry.

I'ts my own post and i did'nt remember. I have had the problem 2 year ago :oops: :oops:

Sorry, and thanks for response.

Post Reply