How to get all Control's caption?

  • Thread starter Thread starter mkhmer
  • Start date Start date
M

mkhmer

I want to do a kind of translation to all FORM and Report:

Now I need to loop to get all Caption value of each control on FORM and
Report.....How can I get them all in just one modul run?

wait for your help....
 
dim ctl as access.control
dim frm as access.form

for each ctl in frm.controls
if ctl.controltype = aclabel then
msgbox ctl.caption
endif
next

(david)
 

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

Back
Top