🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #288

Re: Issuing a SQL->Text in a multi tier app

#288
From: Rocky Castaneda
Date: Thu, 10 Oct 2002 08:32
41 lines
2143 bytes
Hi Max,

I got it!!!!

I was able to display the result of my SQL Command Text =).

I just have another question though, Whenever I delete a record from one
client, the other client would not be able to see the changes.

This means that the record deleted is still visible on the other client even
if I click a button on the client program that would open/close just to
refresh the result set.

The update would only reflect when I terminate the program and run it again.

Thanks in advance,

-rocky


"vavan" <vavan@santel.ru> wrote in message
news:jd6aqu8elmtqnsjq5ldiikop1np6ge9vav@4ax.com...
> On Wed, 9 Oct 2002 15:18:50 +0800, "Rocky Castaneda"
> <rcastaneda@ecommsite.com> wrote:
>
> >Is there a way by which we can issue SQL Statements to a ClientDataSet?
> >
> >ie. . .
> >
> >ClientDataSet1->Close();
> >ClientDataSet1->CommandText = "select * from WhateverTable";
> >ClientDataSet1->Open();
> >
> >Is this thing possible on a multi tier application.
> >
> >if Yes, how? if No, any workaround?
>
> Yes, it is possible just exactly as you wrote above
>
> --
> Vladimir Ulchenko aka vavan
Technical Details
Message-ID: <3da53b28@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail
References: <3da3d856@newsgroups.borland.com> <jd6aqu8elmtqnsjq5ldiikop1np6ge9vav@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,629fb6b9df8a65a9
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2002-10-10 01:46:03 PST
From: "Rocky Castaneda" <rcastaneda@ecommsite.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
References: <3da3d856@newsgroups.borland.com> <jd6aqu8elmtqnsjq5ldiikop1np6ge9vav@4ax.com>
Subject: Re: Issuing a SQL->Text in a multi tier app
Date: Thu, 10 Oct 2002 16:32:44 +0800
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 203.131.104.10
Message-ID: <3da53b28@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1034238760 203.131.104.10 (10 Oct 2002 01:32:40 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail