Click to See Complete Forum and Search --> : Adding Contols throug code in MS Access


adil56
January 21st, 2006, 02:31 AM
Hello
i need to add a text label in MS Access form through code. is there any such way

thanks

olivthill
January 21st, 2006, 08:08 AM
Sorry, I don't know how controls can be created in a program.
My solution is to create a control and have its visible property set to false. Then when user presses a button, I have VBA code making it visible with xxx.visible=true. BTW, you can also define controls in some particular locations, and move them later at other places.