Article View: borland.public.cppbuilder.database.multi-tier
Article #711Re: how to transfer the SQL command from client to Application Server?
From: mykle hoban (borland)
Date: Wed, 21 Feb 2001 19:48
Date: Wed, 21 Feb 2001 19:48
19 lines
1631 bytes
1631 bytes
The component is called TDatasetProvider. You can use the CommandText property of your ClientDataset to dynamically set the SQL property. Note: you'll have to set the poAllowCommandText = true in the DatasetProvider options. Hope this helps, _mykle Will Hunt wrote: > I want to let the client to dynamically generate the SQL command. I know in > the c/s > environment ,it's not difficult to realize it.But,now i adapted the midas > mode ,and the system has been used for some time. I want to how to resolve > it .I've seen some books,takling about BCB3.0 or4.0 , have introduce to > resolve it through TProvider,but in BCB5 this component has seems to > disappeared. > Can anyone help me! THX > > Willy
Technical Details
Message-ID:
<3A941BA8.2CF25C52@borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!10.143.12.176References:
<3a920567_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,3f9b465f8584d5ee X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-02-21 11:58:04 PST Message-ID: <3A941BA8.2CF25C52@borland.com> Date: Wed, 21 Feb 2001 11:48:56 -0800 From: "mykle hoban (borland)" <mhoban@borland.com> X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Re: how to transfer the SQL command from client to Application Server? References: <3a920567_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 10.143.12.176 X-Trace: 21 Feb 2001 11:48:55 -0800, 10.143.12.176 Lines: 21 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!10.143.12.176