web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Looping through Controls in a Dynamics SL Form

(0) ShareShare
ReportReport
Posted on by 340

How do I loop through the controls on a form using VBA

something like:

dim ctl as Control

for each ctl in Me.Cotrols

Next

problem is there is no Control Collection accessible in SL VBA that I see.

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Barry Flynn Profile Picture
    3,090 on at

    Have you looked at the mFindControlName API call?

    Barry

  • Edward McGovern Profile Picture
    340 on at

    Barry,  

          Thanks!  mFindControlName(1) returns name of first control and mFindControlName(0) returns the "next" control. All I need to loop.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans