If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to create a custom control in runtime in msaccess?
Hi,
my doubt is how to create a custom control say richtextboxor some other control using method CreateReportControl or some other available method.Thanks in advance , if you come to know please explain. |
#2
|
|||
|
|||
How to create a custom control in runtime in msaccess?
If you mean you are using Access Runtime, then I believe it is not possible
to create a control on a report. If you mean you want to add a control to a report at time of execution, that can be done - but only in design mode. The best way to handle either situation is to add the control in design mode. Then use code to set its visible property to true or false as you need the control to be seen. You can also use code to move the control (and other controls) and to change the controls source, etc. "Surendra" wrote in message lkaboutsoftware.com... Hi, my doubt is how to create a custom control say richtextboxor some other control using method CreateReportControl or some other available method.Thanks in advance , if you come to know please explain. |
#3
|
|||
|
|||
How to create a custom control in runtime in msaccess?
Surendra wrote:
Hi, my doubt is how to create a custom control say richtextboxor some other control using method CreateReportControl or some other available method.Thanks in advance , if you come to know please explain. While common in other environments, any attempt to create controls during runtime in Access are doomed to failure. You have to have the container object (form/report) open in design view to create controls and there is a lifetime limit on how many controls can be created on any one from or report that you will eventually hit. The usual advice is to create whatever controls you might need during design time and make them hidden. Then it is fairly easy to make those controls visible and change their properties in runtime. -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
create custom property to run remote control | ApostolisA | Visio | 11 | June 5th, 2008 01:25 AM |
create custom layout and add to task pane | Sandy | Powerpoint | 0 | November 18th, 2005 04:25 PM |
Reporting subreport total on main report | BobV | Setting Up & Running Reports | 22 | November 1st, 2005 03:19 AM |
Outlook 2003 will not create custom dictionary | ThomasAJ | General Discussion | 0 | October 22nd, 2005 06:36 AM |
Having trouble with multi-select list box in Access | brandelfly | New Users | 4 | February 10th, 2005 07:36 PM |