🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #241

Re: Help!! ADO Refresh causes error

#241
From: Vassiliev V. V.
Date: Wed, 03 Jan 2007 10:27
34 lines
1904 bytes
Ensure that you have PK or at least unique index in table you are 
refreshing.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"sam" <sam@nospam.com> �������/�������� � �������� ���������: 
news:459b560c$2@newsgroups.borland.com...
> Help
>
> The following line of code
> DataMaster->MYTable->Refresh();
>
> gives me the following Message
>
> Debugger Exception Notification
> Project my.exe raised exception class EOleException with Message 
> 'Insuffient key column information for updating or
> refreshing'
>
> How can I resolve this.
>
> TIA
>
> Sam
>
>
> 
Technical Details
Message-ID: <459b8503@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <459b560c$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,c0c512eb46ba2a2e
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Vassiliev V. V." <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <459b560c$2@newsgroups.borland.com>
Subject: Re: Help!! ADO Refresh causes error
Date: Wed, 3 Jan 2007 13:27:42 +0300
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
X-Antivirus: avast! (VPS 0666-1, 31.12.2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 85.93.138.132
Message-ID: <459b8503@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1167820035 85.93.138.132 (3 Jan 2007 02:27:15 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail