Control form from within another form

D

Darhl Thomason

I have a batch process that I run on my data. I also have a progress meter
that updates based on the progress of the batch in the first form.

At the end of the batch, I want to make a txtBox visible and assign a value
to it with a summary of the batch process. When I run the code I get the
following error: Run-time error '2465': Application-defined or
object-defined error".

Here is the code I am using within my first form to control the second form:

Forms!frmProgressBar.txtProgress.Visible = True
Forms!frmProgressBar.txtProgress = intProcessed & " emailed, " &
intNotProcessed & " not emailed, " & intTotal & " total records processed."

Thanks!

Darhl
 

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