reference form

M

MikeJ

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

MJ
 
M

Michael C

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
 
M

Mike J

My other post does not show....
did not see it ..so i reposted...
sorry...i do NOT do it on purpose
MJ
 
M

Michael C

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top