Hi,
Thanks for your answer.
I want to build a new VLWeb application.
But the HTTP variable need to be retrieved on the server.
I have define an HTTP Variable using the Web Administrator:

- WebAdmin.JPG (15.36 KiB) Viewed 22365 times
With the following code, a WAM works OK:
Code: Select all
Webroutine Name(test)
Web_Map For(*both) Fields(#RMCUSRAG)
Endroutine
I have test a VLWeb page with
Code: Select all
Begin_Com Role(*EXTENDS #PRIM_WEB)
Define_Com Class(#RMCUSRAG.Visual) Name(#RMCUSRAG) Componentversion(1) Displayposition(1) Height(21) Left(84) Marginleft(207) Parent(#COM_OWNER) Tabposition(1) Top(54) Usepicklist(False) Width(957)
Evtroutine Handling(#Com_owner.Initialize)
Define_Com Class(#RMCSMHEAD.RecupHeader) Name(#recupheader)
#recupheader.Execute Rmcusrag(#RMCUSRAG)
Endroutine
End_Com
And the Server Module is defined as:
Code: Select all
Begin_Com Role(*EXTENDS #PRIM_SRVM)
Srvroutine Name(RecupHeader)
Field_Map For(*output) Field(#RMCUSRAG)
Endroutine
End_Com
I have tried with Field_Map For(*both) Field(#RMCUSRAG), but it does not work either.
Did I miss something?
Romain