 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
nazeer Guest
|
Posted: Fri Aug 13, 2004 12:34 pm Post subject: Passing parameters to retreive query results |
|
|
Hi,
Can anyone tell how could I pass parameters to XML broker and get the data. So far I did this code which I publish below, but couldn't get the query results:
procedure TWebModule1.MidasPageProducer1AfterGetXMLData(Sender: TObject;
Request: TWebRequest; XMLBroker: TXMLBroker; var OwnerData: OleVariant);
begin
if XMLBroker1.Params.Count = 0 then
XMLBroker1.FetchParams;
XMLBroker1.Params.ParamByName('paraVehicleNo').Value := Request.ContentFields.Values['VehicleNo'];
end;
and:
procedure TWebModule1.XMLBroker1GetResponse(Sender: TObject;
Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
begin
Response.Content := MidasPageProducer1.Content;
Handled := True;
end;
Awaiting anybody's response
Thanx in Advance,
Nazeer
|
|
| 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
|
|