Focal Point
FOCFOCEXEC doesnt return procedure name

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7011058331

April 13, 2005, 09:31 AM
<Stefan Svanholm>
FOCFOCEXEC doesnt return procedure name
I dont get the procedure name back when retreiving the system variable &FOCFOCEXEC, instead I get the value "_ADHOCRQ".

I use the following code:

SET PAGE=OFF
TABLE FILE SOMEFILE
"&FOCFOCEXEC"
PRINT SOMEFIELD
END

Could it be a server setting problem ?
April 13, 2005, 12:38 PM
Håkan
Stefan,

are you running from the server console or the ad hoc screen, eg. http://servername/ibi_html? In that case you should get the _ADHOCRQ return.

H�kan
April 13, 2005, 01:42 PM
<Stefan Svanholm>
Well, I thought I was runnig from the server console.
However, I just noticed that when I run the procedure when 'editing as text' just clicking the 'run' button, I get the '_ADHOCRQ' value.
But If I close/save the procedure, rightclick it and run it from the explorer, the parameter is populated with the procedure name(the same URL is sent to the browser, though).
In my particular case this doesnt seem to be a problem any more, but I dont really understand the difference.