Page 1 of 1

TField.Origin

Posted: Thu 20 Aug 2009 07:06
by tinof
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

Posted: Fri 21 Aug 2009 08:06
by Challenger

Posted: Fri 21 Aug 2009 08:51
by tinof
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.