|
-
Sep 19th, 2002, 03:28 PM
#1
Thread Starter
Junior Member
HELP! reference control by string
is there a way to reference a control (button or checkbox) by using a string for its name instead of an integer?
I want to loop through a recordset with names of controls and add or remove them based on values in the recordset.
I am converting from vba where this worked:
CHKNAME = "chk" & rc![Report]
Set ctl = FRM.Controls(CHKNAME)
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|