dynamically adding controls to report

Reply

Join Date: Mar 2006
Posts: 6
Reputation: savi_karthika is an unknown quantity at this point 
Solved Threads: 0
savi_karthika savi_karthika is offline Offline
Newbie Poster

dynamically adding controls to report

 
0
  #1
Mar 28th, 2006
hai,
me again, i would like to create a data report by adding the report labels and textboxes at runtime. Is there any ways to add the controls to a report dynamically
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 45
Reputation: maheshsayani is an unknown quantity at this point 
Solved Threads: 2
maheshsayani's Avatar
maheshsayani maheshsayani is offline Offline
Light Poster

Re: dynamically adding controls to report

 
0
  #2
Jul 12th, 2006
Hi
this is the code for creating Array of Controls in Run Time
Index Number Is the free number which doesn exist for the Control Label1

Load(Label1(indexnumber))
Label1(indexnumber).visible = true
Label1(indexnumber).top = 100
label(indexnumber).caption = "Hello World"

Thanks & Regards
Mahesh Sayani
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1
Reputation: linodnunes is an unknown quantity at this point 
Solved Threads: 0
linodnunes linodnunes is offline Offline
Newbie Poster

Re: dynamically adding controls to report

 
0
  #3
Oct 9th, 2007
Hi everyone

I have the same doubt that savi_karthika but in my case I'm using VBA.

I'm trying to do a dinamically report in Access using VBA.

I need to add a text box and a check box or radio button dinamically! I tried the code above but with no success

Do you think you could help me!?

I really appreciate it!

Thanks in advance.

Best regards,
Lino
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC