Solved

working with webserv soap and query

Posted on 2008-06-18
6
434 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now