Edit object, line-by-line
Back in the day when we used the old Edit and dbEdit objects, we had the ability to parse them line by line by using the following
Code:
Get line_count of (oQuery(Self)) to iLines
For iCnt from 0 to (iLines -1)
Get Value of (oQuery(Self)) item iCnt to sTest // would hold the value of each line in turn
Loop
But this no longer works with cDbTextEdit. Yes, Line_Count works well enough but I don't see a way to get the value of a single line, sTest holds the value of the entire object. I replaced the cdbTextEdit object with a good old dbEdit object and the above code worked as expected.
Am I missing something or do I have to go back to the obsolete dbEdit object?
Bob Worsley
203-249-2633
rlworsley at gmail.com
Do or do not. There is no try. — Yoda