On 09/13/2013 04:37 AM, Ricardo Aráoz wrote:
Thanks John.
In the for loop I'm just doing an addField() for every field included
in the data structure. Is this not needed? Is the data structure enough?
Try removing it - if it works then you are OK. I don't normally take
the time to define a 'datastructure' - I just use .addField(). I haven't
run into any problems that I recall. My guess is I'm not the right
person to discuss this with - Paul, I believe uses 'datastructure' in
his programming and if memory serves he does so to avoid some sort of
issue or maybe it's just something left over from the past???
IMHO -
The guys that have been using Dabo for a long time are using coding
routines/behaviors that probably aren't required - they just don't hurt
and they work.
For example I started hand coding my forms/windows - mostly because when
I started the GUI designer wasn't very stable. A far as I know it is
very stable now. But I continue to hand code the forms. I see code
that others post and I see routines that I know didn't work and I had to
work around long ago. But I still see those simple work arounds in my
code even though they are no longer required (or it's just my lack of
programming skill). Don't ask what they are - I won't answer.
Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]