Perhaps I never noticed it before, or maybe my projects have been small enough that I never over used variables. Here is my issue,

I am using CFAJAX to call a cffunction in what i term inventory.cfc. Within that cffunction, I use cfinvoke to call another function called getBreakEven (it is within the same cfc).

In my base function (getListings) I set my structure up
<cfset st = structnew() />
and I do a cfquery named "ama".

In my getBreakEven function, I did the same.
<cfset st = structnew() />
and I do a cfquery named "ama"

And perform different functions on the getBreakEven data. When the structure is returned, all my previous data is wiped. I have no query "ama" and the "st" is populated with the data from getBreakEven.

Is this normal? I am just expanding into multiple cffunctions in my programming and I cannot believe I never come across this before.

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to