🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: help needed ...plz help this poor programmer

#248
From: Emmanuel
Date: Thu, 06 Jan 2005 06:52
34 lines
2440 bytes
Method 1:
on the server side
Query->SQL="select * from Table1 where (0=:chk1 or (1=:chk1 and
Field1=:Field1))
and (0=:chk2 or (1=:chk2 and Field2=:Field2)) ..."

Method 2:
on the Server side
TDataSetProvider->Options->poAllowCommandText=true;
On the Client Side
TClientDataSet->CommandText="Select * from Table1 where....."

In fact I have phoned to Borland HK Limited , they claim that Borland give
up to develop SocketServer now
so, no further support in mult-tier,
they advance us to use .NET now
It make me very very angry!!!!!!!


"billaras" <billaras1234@hotmail.com> д���ʼ�
news:41db4890@newsgroups.borland.com...
> HI ALL,I AM WORKING ON A PROJECT ..WELL HERE IT GOES...
> I MUST USE BORLAND C++ BUILDER TO CREATE A SERVER/CLIENT APPLICATION TO
> ACCESS A DATABASE...SO WE HAVE 2 PCs .ON THE FIRST WE RUN SQL SERVER 2000
> AND A SERVER APPLICATION CREATED WITH BUILDER USING DATASNAP WITH ADO
> CONNECTION.ON THE SECOND WE HAVE A CLIENT APPLICATION .I CAN EASILY TAKE
> DATASETS USING CLIENTDATASET-DATASETPROVIDER BUT THERE IS THE BIG
> PROBLEM....I WANT TO CREATE A QUERY ON A TABLE FROM THE CLIENT
> APPLICATION...HOW WILL I CONNECT THE QUERY WITH THE..(I DONT KNOW
WHAT).HOW
> CAN I PERFORM DYNAMIC QUERIES SO I CAN RETRIEVE SPECIFIC DATA ALWAYS
> DYNAMIC!IS THERE A WAY DOING THAT?THANK YOU ALL IN ADVANCE FOR YOUR HELP
>
>
Technical Details
Message-ID: <41dcdf7e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!213.193.255.2.MISMATCH!feeder1.cambrium.nl!feed.tweaknews.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41db4890@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,fb8ed3243825fb0f
X-Google-Attributes: gidfcd2b,public
X-Google-Language: ENGLISH,ASCII
From: "Emmanuel" <emmanuel@erphk.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
References: <41db4890@newsgroups.borland.com>
Subject: Re: help needed ...plz help this poor programmer
Date: Thu, 6 Jan 2005 14:52:53 +0800
Lines: 36
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 202.146.98.71
Message-ID: <41dcdf7e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1104994174 202.146.98.71 (5 Jan 2005 22:49:34 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!213.193.255.2.MISMATCH!feeder1.cambrium.nl!feed.tweaknews.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail