Article View: borland.public.cppbuilder.database.ado
Article #4306Re: Refresh method of dataset
From: mikec
Date: Tue, 05 Feb 2002 16:33
Date: Tue, 05 Feb 2002 16:33
30 lines
2311 bytes
2311 bytes
Seen as though everyone else seems to point this out - your not meant to make multiple posts! And winapi defiantly doesn't seem the right place to post anyway. That aside, as far as I know, you should apply your refresh directly to the table or query that you want to refresh i.e. Table->Refresh(), Query->Refresh(); However I've had a similar problem before, check that you have the latest patches installed and if your using ADO patch that as well. If you still don't get any joy, Close that table/query and open it again (not a great solution but it worked for me :-) "Baris YURTCU" <badidi@hotmail.com> wrote in message news:3c5fded8_1@dnews... > Hi all, > > "Table does not support this operation because it is not uniquely indexed." > error appears when I execute this code: > DataModule1->DataSource1->Dataset->Refresh(); > > where Dataset property of DataSource is equal to "Query1". (MS-SQL7). > > I need to use Refresh method because newly inserted records (after Open of > Query) do not seem on navigation of query. > > Help please... > Thanks. > Baris. > >
Technical Details
Message-ID:
<3c600a67$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3c5fded8_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5ca7,c8abb4991291b005 X-Google-Attributes: gidf5ca7,public X-Google-Thread: 10698b,c8abb4991291b005 X-Google-Attributes: gid10698b,public X-Google-Thread: fc5f9,c8abb4991291b005 X-Google-Attributes: gidfc5f9,public X-Google-ArrivalTime: 2002-02-05 08:41:19 PST Reply-To: "mikec" <mikec@risc-com.co.uk> From: "mikec" <mikec@risc-com.co.uk> Newsgroups: borland.public.cppbuilder.database.ado,borland.public.cppbuilder.database.sqlservers,borland.public.cppbuilder.winapi References: <3c5fded8_1@dnews> Subject: Re: Refresh method of dataset Date: Tue, 5 Feb 2002 16:33:19 -0000 Lines: 32 Organization: Risc X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 217.23.232.66 Message-ID: <3c600a67$1_2@dnews> X-Trace: dnews 1012927079 217.23.232.66 (5 Feb 2002 08:37:59 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews