Solved

working with webserv soap and query

Posted on 2008-06-18
6
439 Views
Last Modified: 2012-05-05
Hello guys

I created a webserv with soap, I added in datamodule a query with this string:

SELECT * FROM CPACLIE

In my cliente program I use ClientDataSet1 to retrieve me only 10 rows.

My table cpaclie has 30.000 rows.
I have a doubt about my query in my webserv

When I require 10 rows, that is, in in commandtext of my ClientDataSet1 I have:

SELECT * FROM CPACLIE
WHERE STATE=1

My query in WebServ will open a full adoquery with 30.000 rows and after opening it will give me my rows from it or the adoquery in my webserv will open my query with 10 rows as I required in the client?

I hope I could explain
thanks
0
Comment
Question by:hidrau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 21

Assisted Solution

by:ziolko
ziolko earned 500 total points
ID: 21873191
try to use sql command on adoquery not clientdataset

ziolko.
0
 
LVL 1

Author Comment

by:hidrau
ID: 21873239
But I need to connect my application through internet, that is, http

0
 
LVL 21

Expert Comment

by:ziolko
ID: 21874266
so you have adoquery on server side and clientdataset in client application?

ziolko.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:hidrau
ID: 21874480
Yeah, I have a webserver with ado connected to my MS SQL 2005 and my application uses these components SoapConnection1

Have you ever worked with webserver? Do you know any link or book that teaches how to work correctly with webserver and application ?

thanks
 
0
 
LVL 21

Accepted Solution

by:
ziolko earned 500 total points
ID: 21881662
hi, I did some webserver programming but not with SOAP. I used SOAP only for fun sometime ago but from what I remember you can pass parameters from client to server so you can use it to invoke apropriate sql command

ziolko.
0
 
LVL 1

Author Closing Comment

by:hidrau
ID: 31468516
I just closed this question. Ziolko helped many times but this time unfortunately he couldn't

even though thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question