F
Frank
I am loading data through a OleDbDatareader. The load is
started from a form by the user, but the actual load is
done in a separate class, which is accessed from my form.
Now, I want the user to see how the load is progressing,
so I have a counter textbox, which I have passed to the
load object as a texbox (ByRef). For every 100 records
that are loaded, I update the Text attribute for the
textbox with a new number. However, the textbox don't
seem to show any number until the load is over; at that
point it does show the number of records loaded. I
therefore assume that the textbox does get updated, but
that perhaps and update of the form and its objects,
isn't performed until after the load.
Any hints to how I can force the textbox object to be
updated on the screen?
Regards,
Frank
started from a form by the user, but the actual load is
done in a separate class, which is accessed from my form.
Now, I want the user to see how the load is progressing,
so I have a counter textbox, which I have passed to the
load object as a texbox (ByRef). For every 100 records
that are loaded, I update the Text attribute for the
textbox with a new number. However, the textbox don't
seem to show any number until the load is over; at that
point it does show the number of records loaded. I
therefore assume that the textbox does get updated, but
that perhaps and update of the form and its objects,
isn't performed until after the load.
Any hints to how I can force the textbox object to be
updated on the screen?
Regards,
Frank