Recent content by mcknight

  1. M

    Help generating dynamic for each

    thanks simon, i'll droping in that code now. I had followed the information on the link you had posted, there were a couple of minor changes but I was still having some small questions as to how to loop through the records. I'll let you know how it goes.
  2. M

    Help generating dynamic for each

    why hasn't this been added into newer versions of progress? it seems like a fairly useful and relatively easy function to add. I would have to say that in all the other programming languages i've used (c, java, web scripting) you can concatenate char strings to build dynamic loops or queries...
  3. M

    Help generating dynamic for each

    gordon we are using 9.1C17 simon: I get what your saying about using the query-prepare and I'm going to try that right now. One question I still have is why does it allow me (citing the original code) to dynamically add single variables to the for each statement, like 'var' and 'var2', but...
  4. M

    Help generating dynamic for each

    I'm fairly new to progress and I need a bit of help generating a for each statement that I can dynamically change. this is what I have so far: <clip> define var as int. var = 10. for each record where record.id = var no-lock break by record.second-id: more code </clip> instead of looking...
Back
Top