Hi all,
I solved the problem - DUH!!
Just pass the local as a parameter to the library method call.

Boy, sometimes I wonder about my brain!

Thanks,
Mike

> Hi everyone.
> 
> In my fusebox application, I'm trying to get a variable to a 
> library in the folowing manner:
> 
> :($fusebox{"fuseaction"} = "AbsencesByTeacher0405")
>               $XFA_SubmitRequest:="AbsencesByTeacher0405" 
>               $yearID:="0405"
>               $yearDisplay:="2004-2005"
>               include("/includes/qry_getBldgTeachers.asp")
>               include("qry_getReportTeacherSummary.asp")
>               include("qry_getReportTeacher.asp")
>               include("dsp_AbsencesByTeacher.asp")
> 
> In the last include, "dsp_AbsencesByTeacher.asp", I import a 
> library to make a link. I want to use the 2 local variables, 
> $yearID and $yearDisplay in the library, but the library 
> thinks that they are undefined.  I've tried creating a 
> collection, both global and local to get them there to no avail.
> I know this is easy, but I've searched the docs and am 
> stumped.  I'm sure somebody can calrify my muddy 
> understanding of variable scope
> 
> :_)
> 
> Thanks,
> Mike Vogt
> Willsub

_______________________________________________
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