Article View: borland.public.cppbuilder.database.ado
Article #1526Re: not realy a solution
From: Giuliano
Date: Wed, 05 May 2004 19:34
Date: Wed, 05 May 2004 19:34
29 lines
1875 bytes
1875 bytes
On Wed, 5 May 2004 20:54:30 +0200, "mza" <MZAGHA80@HOTMAIL.COM> wrote:
>it didnt work for key field it rase an exption "Field etc;etc" not found
Actually it works. See this excerpt (from a DFM) from a test I've made:
object ADODataSet1ABT: TStringField
FieldKind = fkLookup
FieldName = 'ABT'
LookupDataSet = ADODataSet2
LookupKeyFields = 'A;B'
LookupResultField = 'T'
KeyFields = 'A;B'
Size = 30
Lookup = True
end
However, you make sure that the columns which are involved in the lookup
operation they have the related persistent fields in the dataset component:
maybe it could help.
Mza, when you make an help request on a newsgroup, always post the question
providing complete informations about your problem. For example, describe the
schema, post the broken code and, in general, describe your problem without
omitting important details and, above all, what you try to accomplish.
Hope this helps.
Giuliano
Technical Details
Message-ID:
<0cfi90p6gcn22enhu3c08msht41sqoofo7@4ax.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40992cc3@newsgroups.borland.com> <4099386b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,3ce02647ee7b5735 X-Google-Attributes: gid10698b,public From: Giuliano <gcardinali@remove.adhoc.net> Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: not realy a solution Date: Wed, 05 May 2004 21:34:31 +0200 Message-ID: <0cfi90p6gcn22enhu3c08msht41sqoofo7@4ax.com> References: <40992cc3@newsgroups.borland.com> <4099386b@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.72.236.131 X-Trace: newsgroups.borland.com 1083785672 81.72.236.131 (5 May 2004 12:34:32 -0700) Lines: 29 Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail