472,330 Members | 1,233 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,330 software developers and data experts.

create new textbox at runtime

I need to create a crosstab report that does not need the user to know
the total number to columns and manually add a new textbox and amend
the VBA code. The VBA code should handle everything from getting the
total number of col and create the exact number of textbox. Tat's is,
the user only need to ran this report and tat's it.

http://support.microsoft.com/default...b;en-us;328320
This information from msdn is only dynamic when the user update the
report textbox and VBA coding.

So far, i managed to get the total number of col but unsuccessful in
creating the new textbox. Can this be done at all?

If it's possible, can someone teach me how.
Thank in advance.

Nov 13 '05 #1
1 8384
Check out CreateControl() in help. It's mainly used for wizards and
such, but I found some uses for dynamic forms and reports.

HTH
Tom
On 9 Mar 2005 00:02:25 -0800, pe********@hotmail.com wrote:
I need to create a crosstab report that does not need the user to know
the total number to columns and manually add a new textbox and amend
the VBA code. The VBA code should handle everything from getting the
total number of col and create the exact number of textbox. Tat's is,
the user only need to ran this report and tat's it.

http://support.microsoft.com/default...b;en-us;328320
This information from msdn is only dynamic when the user update the
report textbox and VBA coding.

So far, i managed to get the total number of col but unsuccessful in
creating the new textbox. Can this be done at all?

If it's possible, can someone teach me how.
Thank in advance.


Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tom Rathbun | last post by:
This is probably simple but it has stumped me. I want to create objects at runtime for example: A program that would allow you to draw lines on a...
2
by: Patrick Marti | last post by:
Hi together I wish to create an object at runtime in the web. I get many good tips for how to do before two days by using the same Subject. So I...
3
by: Don Lee | last post by:
Hi All, i want to create a dynamic crosstab report. The method shown in http://support.microsoft.com/default.aspx?scid=kb;en-us;328320 is not a...
3
by: Ricardo Corsi P. Cesar | last post by:
Hi, i looking for example in asp.net (VB) to make the RegularExpressionValidator in runtime in my code behind. I found some similars codes, but...
3
by: RSB | last post by:
Hi Every one Having tuff time creating web controls Dynamically. All i am trying to do is read a table and generate a list of ASP TEXT Box. So...
1
by: Bruno Pimentel Machado | last post by:
is it possible (how) to build a asp.net page on the fly? i.e.: I have a db with the controls I want to add to it: 1. TextBox - name "ABC" - Text...
1
by: Chris Dunaway | last post by:
I have a legacy application that I need to build a Windows Forms application to interface with it. The legacy application keeps its configuration...
7
by: Edwin Martinez | last post by:
Hello I have a parent form but I want to create 4 forms that will be shown in a area inside the parent form when I click to buttons. ...
10
by: karan1981 | last post by:
Hi, I have a user control that has a textbox. This user control is placed in a form at runtime. This form gives a string to the user control and...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.