473,320 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 2034
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******@singnet.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********@hotmail.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
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...
3
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 :( ....
11
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...
7
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...
7
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...
20
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,...
6
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
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...
3
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,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.