Yes, for the items you currently have a Debug.Print statement, just set the
value of a textbox instead.
Example from the Immediate window:
Forms!Form22!Text0="Hi there"
Forms!Form22!Text0=Forms!Form22!Text0 & vbCrLf & "Hi there again"
You could use "Me." instead of "Forms!Form22" if appropriate. You may also
want to play with the SelStart and SelSelect properties of the textbox. Set
the textbox's Scrollbar property to Vertical and the Locked property to Yes.
If you leave Enabled set to Yes, the user will be able to select the text
and copy it for pasting elsewhere. If you set the Enabled Property to No,
the user won't be able to do anything but read the text. Setting Enabled to
No will also disable the scroll bar.
--
Wayne Morgan
MS Access MVP
"Tony" <hs*********@yahoo.com> wrote in message
news:7e**************************@posting.google.c om...
Hello,
Using Access2000, WinNT.
Using the Immediate Window, I can view the results of my VBA code as
it performs operations/calculations on my data. Now that I have all
the bugs worked out, I want that same debug.print information sent to
a form so a user can see what is happening as the data is being
processed. How can I do that?
It's not so much that I want the Immediate Window to pop-up over my
form but rather getting the same data generated using the debug.print
statement into a scrollable text box on a form. This way a user can
see procedure calls, failure/success results, etc.. as they are
executed in the module.
Any ideas are greatly appreciated!
Tony