 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
GerVor Guest
|
Posted: Mon Feb 21, 2005 6:18 pm Post subject: VarOleStr - SOAP XML result |
|
|
Hi all..
I have a web service returning a Vector of rows from a database.
My Vector contains ArrayLists (rows).
In my imported webservice in Delphi I have:
Vector = array of Variant; {
"http://xml.apache.org/xml-soap" }
So in my application I want to display the rows from the database which are
in this Vector.
I have this code:
procedure TCustomerSearchFRM.CSBTNClick(Sender: TObject);
var CustomerSearchResult: Vector;
AA: Variant;
begin
//We can now search for customers whom match the search criteria..
CustomerSearchResult := GetService.customerSearch
(
CSAccountNoEDT.Text,
CSNameEDT.Text
);
showmessage(IntToStr(low(CustomerSearchResult))+'::'+IntToStr(high(CustomerSearchResult)));
//Here I see "0::2" meaning there are 3 rows which is correct..
AA := CustomerSearchResult[0];
I have no idea what to do with my Variant AA now??? I know it is of type
VarOleStr.
Any help would be appreciated. !!
Maybe I am doing it all wrong..
GerVor
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|