It go to dsp_imprimer.a4d!! But the variable I pass to id a Reference to an
undefined variable or value...
...
    <out>
      <number name="$vlNo" scope="attributes" optional="yes"
comments="Numéro unité exporté" />
...
&lt;form name=&quot;form1&quot; method=&quot;post&quot;
action=&quot;&lt;%=fusebox.makeUrl(&quot;detail.imprimer&quot;)%&gt;">
  <input type="submit" name="b_submit" value="Imprimer" />
  &lt;input type=&quot;hidden&quot; name=&quot;b_no&quot;
value=&lt;%=[Unite_Evaluation_Detail]No_Unique_Unite_Eval%&gt;>

  <% a4d.web.hideField("form_submitted"; 1) %>
</form>
...
if ($attributes{"form_submitted"} # "")

$vlNo := $attributes{"b_no"}
throw(string($vlNo))
a4d.debug.dump form variables
 end if %>

In the switch:


case of
        :($fuseaction = "details")
                
                include("models/qry_selectOne.a4d")
                include("views/dsp_details.a4d")
        
        :($fuseaction = "imprimer")
                include("views/dsp_imprimer.a4d")

The other page:
<% /*
<fusedoc fuse="dsp_list.a4d" language="Active4D" specification="2.0">
  <responsibilities>
    I show a list of the Municipalite.
  </responsibilities>
  <io>
    <in>
        <number name="$vlNo" scope="attributes" optional="yes"
comments="Numéro unité exporté" />
    </in>
  </io>
</fusedoc>
*/ 
throw($vlNo)
%>

Sorry my brain is kinda slow today... 

--
View this message in context: 
http://active4d.2283328.n4.nabble.com/Beginner-question-tp3843735p3844319.html
Sent from the Active4D mailing list archive at Nabble.com.
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to