473,385 Members | 1,597 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,385 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 2037
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...

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.