Difference between revisions of "Midware TAppSrvClient.Request"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Definition == | == Definition == | ||
− | '''property''' Request: | + | '''property''' Request: TMWBuffer; |
== Description == | == Description == | ||
Line 12: | Line 12: | ||
<syntaxhighlight lang="delphi"> | <syntaxhighlight lang="delphi"> | ||
AppSrvClient1.Request.Rewrite; | AppSrvClient1.Request.Rewrite; | ||
− | + | AppSrvClient1.Request.WriteFields(FALSE, ['PIETTE', 'FRANCOIS']); | |
− | + | AppSrvClient1.FunctionCode := 'GETCLIENT'; | |
− | + | AppSrvClient1.Send; | |
− | + | </syntaxhighlight> |
Latest revision as of 12:28, 14 May 2011
Main page -> Midware component reference -> TAppSrvClient -> Request
Definition
property Request: TMWBuffer;
Description
The request property holds the parameters sent to the application server. The application server uses the function code to know which server object must be instanciated, and pass the paraemters to this server object. Parameters can be anything and ar emade of records made of fields. See TMWBuffer object description for details.
Example
<syntaxhighlight lang="delphi"> AppSrvClient1.Request.Rewrite; AppSrvClient1.Request.WriteFields(FALSE, ['PIETTE', 'FRANCOIS']); AppSrvClient1.FunctionCode := 'GETCLIENT'; AppSrvClient1.Send; </syntaxhighlight>