Method WMLCard():setWaa() Professional

Add a link to a WAA package function.

Syntax
:setWaa( <cPackage> , ;
         <cForm>    , ;
         <cLabel> ) --> self
Parameters
<cPackage>
The parameter <cPackage> becomes the value of WAA_PACKAGE attribute of the connection string.
<cForm>
The parameter <cForm> becomes the value of WAA_FORM attribute of the connection string.
<cLabel>
The parameter <cLabel> becomes the value of the label attribute in the WML <do> tag.
Return

This method returns the object executing the method (self).

Description

The method defines the WAA package DLL and form function to be accessed from the card and adds a link to the card displaying the text <cLabel>. The link is returned by the method :getWAALink(). It is automatically included when no link to the WAA is defined and oWMLDeck:default is set to .T. (true).

WML output:

<do type="accept" label="cLabel"> 
<go href=" + ::getWAALink() + "/> 
</do> 

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.