Solved

working with webserv soap and query

Posted on 2008-06-18
6
437 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
  • 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 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