🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by Bill Mon, 24 Dec 2001 06:17
How to use RefreshRecord?
#306
Author: Bill
Date: Mon, 24 Dec 2001 06:17
10 lines
1075 bytes
When I want to refresh the current record, I used RefreshRecord method.An
exception allways occured: Unable to find record. No key specified.

   cds->ApplyUpdates(0);
   if (cds->ChangeCount == 0)
   {
      cds->RefreshRecord();
   }

How to resoled it, eager to know.
Re: How to use RefreshRecord?
#307
Author: vavan
Date: Mon, 24 Dec 2001 10:24
10 lines
1241 bytes
On Mon, 24 Dec 2001 14:17:54 +0800, "Bill" <bill@vip.sina.com> wrote:

>When I want to refresh the current record, I used RefreshRecord method.An
>exception allways occured: Unable to find record. No key specified.

What you need is to set pfInKey flag in ProviderFlags property of your
key fields in AppServer for this method to work properly.

--
Vladimir Ulchenko aka vavan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads