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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control collection value returned in debug or print

Status
Not open for further replies.

STPMB

Programmer
Sep 13, 2002
28
US
Can someone explain what the value is that is being returned from a controls colletions when I debug the variable assigned as a control.

for instance when reading through the controls on a form
I declared variable actl as control but when debugging or printing the variable actl it returns values that I don't know are from where.

 
Are you trying to figure out to which control your variable is currently assigned? If so, just say

?actl.Name

in your debug window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top