Solved

working with webserv soap and query

Posted on 2008-06-18
6
438 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help on project with Soap 10 70
control image tags in a string ? 12 171
firemonkey Android Listview Sort items 7 106
shape, triangle, dbctrlgrid 3 47
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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