Page 1 of 1

aliases in TMSQuery - where I can find TCRFieldDesc type ?

Posted: Sun 28 Dec 2008 00:05
by mfg
Hello,
I'd like to get information about aliases, origns in my TMSQuery.
In previous thread (Retrieve correct table alias) I found information that I should use
FieldDesc := TCRFieldDesc(msQuery1.GetFieldDesc(msQuery1.Fields)),
but when I try to use TCRFieldDesc I get an error message 'Undeclared identifier'. Could you tell me what sdac unit should I use or maybe there is a diffrent way to get information what aliases, origins i use in my TMSQuery ?
I can't find this information in SDAC help files or even google :)

kind regards
ZS

Posted: Mon 29 Dec 2008 15:04
by Dimon
The TCRFieldDesc class is declared in the CRAccess.pas unit.