Lisa,
Welcome to Active4D.
I am assuming you want to display the returned data in an web page.
Therefore within that web page you would make the call to the method
that gets the data. You can call 4D methods directly so really you
need something like this:
<%
$vt_QueryName := "MyQueryName"
$vt_QueryParam:= "MyQueryParameters"
$returnedData := Get_External_Method ($vt_QueryName; $vt_QueryParam) %>
The method Get_External_Method would accept the tw0 parameter and
just return $vt_Output in $0 (thus putting it into $returnedData)
Now you have to display the returned data. There are loads of ways to
do this from:
<%= $returnedData %>
to using complex rowsets (check the documentation).
Either approach, you are still just embedding the Active4D code
(brackected by <% %> ) within the HTML.
Hope this makes sense.
regards, Michael.
On 1 Jun 2007, at 18:21, Lisa Werdal wrote:
Hi -
I'm very new to learning Active4D. What I have been asked to do is
easy and small (for now). I'm just not sure how to call it.
I have written A4D code to perform a query. I have 2 input
parameters, and want a sting back. The input data will not come
from a form but call from another system and no html is needed.
Would I write it like this:
<%
method "External.a4d" ($vt_QueryName; $vt_QueryParam)
.....
return ($vt_Output)
To test, who would I send the parameters in a URL?
Thanks so much!
----------------------------
Lisa Werdal
Taylor Technology
609-951-0005 x405
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/