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
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