reference form

  • Thread starter Thread starter MikeJ
  • Start date Start date
M

MikeJ

how can i reference a form
from a class processing recordset
to update the form....
im still new

MJ
 
MikeJ said:
how can i reference a form
from a class processing recordset
to update the form....
im still new

Generally the best method of doing this would be for the class to raise some
sort of event or callback. So instead of the class having specific knowledge
of the form (eg, having the line MyForm.Label1.Text = "50% complete") it
would raise an event and the form would set the label caption. This might
seem like a minor difference but it makes the class more independant of the
form and the class could be called from several different forms, or maybe
one day from a webpage or PDA or even a console app.

Michael
 
My other post does not show....
did not see it ..so i reposted...
sorry...i do NOT do it on purpose
MJ
 
Mike J said:
My other post does not show....
did not see it ..so i reposted...
sorry...i do NOT do it on purpose
MJ

You've replied to the other post!!!!!

Michael
 
Back
Top