The agent must reside within the mail database, not the Forms file.
Valid Values are:
0 - Disabled -- Web query agents are not invoked
1 - Enable Web query agents
Set to "1" to enable the ability to customize DWA to invoke Web Query Open or Web Query Save agents.
This variable is new in 6.5.5 and 7.0