Article View: borland.public.cppbuilder.database.ado
Article #4299Re: Access to field of type 'uniqueidentifier' on SQL7?
From: David Barnes
Date: Mon, 04 Feb 2002 16:01
Date: Mon, 04 Feb 2002 16:01
18 lines
1867 bytes
1867 bytes
> Edit1->Text=DataModule1->DataSource1->DataSet->FieldValues["Uniqf"]; > > But I get a run-time error: Field 'Uniqf' not found. Anyway this field > doesn't seem on "Columns Editor" of DBGrid control. How are you filling your DataSet? I would suspect that either you are not including this field (column) or if you are it has been giving a temp name. For example, if you are doing a Select * from ABC you might not have the field name you want or if you have two same fields named the same from two tables that are being included one would be given a temp name (ex. two tables that both have an ID field), but I THINK that this would also throw an error, but can't remember (early Monday, takes abit to thaw) :) Hope this gives some direction. David Barnes
Technical Details
Message-ID:
<3C5EB03F.2000309@kalos-inc.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3c5b4d26_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc5f9,63e18f51711dcbf X-Google-Attributes: gidfc5f9,public X-Google-Thread: 10698b,63e18f51711dcbf X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-02-04 08:01:22 PST Message-ID: <3C5EB03F.2000309@kalos-inc.com> Date: Mon, 04 Feb 2002 10:01:03 -0600 From: David Barnes <david@kalos-inc.com> User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado,borland.public.cppbuilder.database.sqlservers Subject: Re: Access to field of type 'uniqueidentifier' on SQL7? References: <3c5b4d26_2@dnews> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.69.231.139 X-Trace: dnews 1012838437 65.69.231.139 (4 Feb 2002 08:00:37 -0800) Lines: 19 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews