Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debug windows 1

Status
Not open for further replies.

oracler

MIS
Oct 4, 2001
19
US
I am using a ACCESS 97 book, and it said that we can use a debug windows and run sub in module, which has "debug.print" command, to test our code. However, I am using ACCESS 2000 and I did not find the debug windows mentioned in the book. How can I test my sub now?

Sample sub:

sub list()

dim dbcurrent as database
dim contest as container

set dbcurrent=dbengine.workspaces(0).Databases90)
for each contest in dbcurrent.containers
debug.print "container:"; contest.name
next

end sub
 
My 2000 help says it's still there. Try looking under Immediate Window

Remember you have to open the window. Just doing debug.print won't make anything appear automatically. mike.stephens@bnpparibas.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top