473,657 Members | 2,423 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create new textbook at runtime

Hi All,

i want to create a dynamic crosstab report. The method shown in
http://support.microsoft.com/default...b;en-us;328320
is not a dynamic report as it require the user to manual add new
textbox if there's a new employee.

What i actually want is the report do not require the user to change
anything before running the report. The report will check the total
num of col and create the exact number of textbox on the report.I can
find out the total number of col but i'm unsuccessful in creating the
textbox.

Is what i want possible? If yes can somebody teach me how?

Thanks in advance.
Nov 13 '05 #1
3 2053
In Access, it is not practical to add text boxes at run-time, but you can
create a pool of invisible text boxes, and make them visible, position them,
and bind them to fields at run-time.

On 8 Mar 2005 23:49:18 -0800, do******@singne t.com.sg (Don Lee) wrote:
Hi All,

i want to create a dynamic crosstab report. The method shown in
http://support.microsoft.com/default...b;en-us;328320
is not a dynamic report as it require the user to manual add new
textbox if there's a new employee.

What i actually want is the report do not require the user to change
anything before running the report. The report will check the total
num of col and create the exact number of textbox on the report.I can
find out the total number of col but i'm unsuccessful in creating the
textbox.

Is what i want possible? If yes can somebody teach me how?

Thanks in advance.


Nov 13 '05 #2
i don't need to consider whether it's practical or not. The design of
my project will hav infinity number of a certain fields. Therefore, i
cant forecast how many textbox there are.

Now that u mentioned it's not practical, so can it be done??
If yes, y not u teach me how....
thanks

Nov 13 '05 #3
On 9 Mar 2005 00:18:27 -0800, pe********@hotm ail.com wrote:
i don't need to consider whether it's practical or not. The design of
my project will hav infinity number of a certain fields. Therefore, i
cant forecast how many textbox there are.
It doesn't matter if you can forecast how many there are because the maxium
number of controls you can have on the form is fixed (511 I believe), and the
maximum number or columns allowed in your crosstab is also limited to 255.
Therefore, create as many hidden text boxes and labels as you can given the
Access limitations, and that's the pool of controls you have to work with.

Now that u mentioned it's not practical, so can it be done??
If yes, y not u teach me how....


Yes, but it's harder than creating the pool of hidden controls, and it doesn't
buy you anything since the Access limits are the same either way.
Nov 13 '05 #4

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

Similar topics

7
8850
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I want my users to be able to select a report, click on a command button on a form, which will then automatically create the report as a pdf file and save it to the user's machine. I am using Adobe Acrobat (5.0 I think) and have Adobe Distiller as a
3
2731
by: cql90 | last post by:
Hi all PRO, I don't know how to create the MSAccess database in the runtime with C#, Are there any body know how to do this? I am pretty sure that all of you know how to do it, except me :( . Thanks you so much in advance, I am deeply appreciated for your help. Take care and have a good one... Kate
11
2121
by: Larry | last post by:
I will be teaching an eCommerce application development course using ASP.Net after many years of having taught classic ASP. (Course was interrupted by 18 months in the Middle East with my Army Reserve unit.) I need a textbook recommendation for a particular need. As I have delved into ASP.Net I find that I want to teach the course by emphasizing coding in the code behind pages but most of the books targeted at beginners to ASP use...
7
4321
by: MarkoH | last post by:
Wsdl.exe /server creates abstract class derived from WebService. Is there a way to create this class at runtime based on some WSDL file given at runtime ? What would be even better - creating concrete class but with empty method implementation of course since WSDL does not provide any info on implementation. Thanks M.
7
5112
by: Jimakos Bilakis | last post by:
Hi guys! I'm using the C++ Builder 6 Enterprise Edition where I create some tables in Paradox and with the help of a structure i pass my data from the form (Edit boxes) to the Paradox table with a speedbutton. (I am also using several data modules where i keep all my tables and queries). First of all i need some "mechanism" to read the data from the tables and also to be able to change these already stored values. I tried with
20
1832
by: ilya2 | last post by:
I am supposed to teach an introductory C course with an unusual slant, and have trouble finding an appropriate textbook. The course will begin traditionally enough with variables, loops, conditionals, structures, pointers and fopen/fclose. Beyond that, however, every course and textbook I had seen is heavy on data *structures*, and touches on other topics lightly if at all. Whereas I need to stress data *types*, converting them one into...
6
3316
by: shapper | last post by:
Hello, How to create a CSS StyleSheet at runtime and added it an Asp:Label? I am using Asp.Net 2.0. Thanks, Miguel
11
4079
by: raylopez99 | last post by:
Keep in mind this is my first compiled SQL program Stored Procedure (SP), copied from a book by Frasier Visual C++.NET in Visual Studio 2005 (Chap12). So far, so theory, except for one bug (feature?) below. At some point I'm sure I'll be able to laugh about this, akin to forgeting a semi-colon in C/C++, but right now it's frustrating (time to sleep on it for a while). Problem-- For some reason I get the error when trying to save files...
3
18700
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however, working with complex reports is tricky Assumption: Reader of this article have basic knowledge of creating data reports. Creating a Parent-Child Command and create a DataReport Suppose we have a database called company with two tables ...
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7327
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4152
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.