aaronburro
Programmer
I want to create a buying cycle report. I'm a programmer by trade, so I know what to do, as far as what has to be accomplished, but I am a bit new to Crystal. Ideally, I'd love to be able to set up some variables as a kind of "static" thing, in order to hold the first and last time a product was bought, or maybe just the last three or four times, and then take the average time between purchases.
Again, i know how to mathematically accomplish this, and, given direct access to the data, I could do this all day long in my sleep! But Crystal seems to be one big old "for" loop which effectively prevents me from having direct read access. In addition, there doesn't seem to be any way to make a complex data structure, such as one that can grow to accomodate a potentially large set.
I've seen the "global" and "local" variables and am greatly intrigued... are these the way to go?
Again, i know how to mathematically accomplish this, and, given direct access to the data, I could do this all day long in my sleep! But Crystal seems to be one big old "for" loop which effectively prevents me from having direct read access. In addition, there doesn't seem to be any way to make a complex data structure, such as one that can grow to accomodate a potentially large set.
I've seen the "global" and "local" variables and am greatly intrigued... are these the way to go?