473,662 Members | 2,454 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Large Report - "too many fields defined" issue

16 New Member
I have compiled data from 13 tables, one for each month of the year that hold 45 fields each, and another for employee information, that holds 16 fields. The database is intended to record hours and special pay withholdings.

I split up the report into First Half and Second Half, as the paper version we use currently does.

My report First Half let me create control boxes for each field I wanted to include, however, when I try printing or previewing, the "too many fields defined" error shows up. Is the limit only 255 for a report?
Dec 27 '06 #1
3 4732
KelHemp
16 New Member
Maybe I need to give you all more information?

Within each Month's table, I have data to cover up to 3 biweekly pay periods each month. There will not always be 3 pay periods in a month, in fact it's quite rare, however, I know of no way to enable myself to eliminate the third pay period when it goes unneeded other than just to make the control invisible, which leaves my field count on the report for the full year at 286.

The need for the third pay period depends on what year it is, and where we are in a 28-year cycle of pay dates. For instance, in 2006, the third pay period was in December and July. in 07, it will be September and December, 08 May and November... and so forth.

I have tried an alternate database setup that was based upon each pay period individually, not each month... and I get stuck on all the math involved.

Any advice at all would be graciously received.
Dec 28 '06 #2
NeoPa
32,568 Recognized Expert Moderator MVP
It may not be easy but trying to use a database in a way that it isn't designed to work (storing similar data in multiple tables) will (has already) lead you into trouble. Months should be stored together in one table but with data in each record that determines which month it pertains to.
This may well be a side issue if your report exceeds the control limit. There's no easy way to handle that. I don't see the requirement of your report layout changing just because the data is or isn't stored correctly. You will probably have to be more 'creative' in finding a solution to this problem.
I'm sorry this isn't more helpful.
Dec 30 '06 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
I have compiled data from 13 tables, one for each month of the year that hold 45 fields each, and another for employee information, that holds 16 fields. The database is intended to record hours and special pay withholdings.

I split up the report into First Half and Second Half, as the paper version we use currently does.

My report First Half let me create control boxes for each field I wanted to include, however, when I try printing or previewing, the "too many fields defined" error shows up. Is the limit only 255 for a report?
You could try using a subreport for the second half

Mary
Jan 1 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
6436
by: Dmitry | last post by:
Hello, Sometimes on js code execution Mozilla 1.5 prints in JS concole the following error: "Error: fn is not defined" where "fn" is the function name surely defined _before_ the line that produces error. The fn body and error line both live in the same *.js file.
2
2812
by: Michael S. Montoya | last post by:
I have a report which has 3 sub-reports in the detail section. Everything (subforms, detail section) is set to Can Grow and Can Shrink as True. I have one record in which one of the subforms has about 7 detail items and the other subforms have several detail items. When I try and print this record it does not get past "Formating - Hit Control-Break" in the status line. When I delete a couple of the 7 line items, it prints fine. Is...
1
1997
by: ian.davies52 | last post by:
I'm having a problem running a query. I get the "too many fields" error message, but I only have 162 fields in the query and I thought the limit was 255. The problem query (Query1) is based on query2 that pulls together records from two tables. Could the problem be that some of the fields in Query1 use expressions using (SELECT "", "query2",">3")? The rest of the fields in Query1 just use Avg. Thanks in advance, Ian
10
1630
by: Eric G. Harrison | last post by:
We have a project with many other projects referenced (all of which are referenced at the project level and are included in the solution). Frequenly, if we make a change in project A (such as adding a property, or even simply changing a line of code), a form in project B will then show 10 or more "object such-and-such is not defined". To fix this problem we check out the form in project B and 90% of the time that fixes it (but nothing changes...
12
18153
by: M G Henry | last post by:
I have a tabbed form that contains 12 different "pages" and when I try and run the form I get the error message too many fields defined --- which I believe is the 255 field limit in the record source. I was wondering, that if I were to break the pages down to include subforms... is the number of fields contained in the subforms added to the field limit for the main form ??? Is there some other way to work around this error message ???
7
8516
by: pike | last post by:
db2 8.1 FP11 on AIX 5.3.0.0 . The db2diag.log is intermittently reporting EMFILE (24) "Too many open files" errors. The culprit is always db2hmon. Sample db2diag.log output follows: 2007-03-20-07.42.35.269106+060 I14996239C505 LEVEL: Severe (OS) PID : 2289758 TID : 772 PROC : db2hmon 0 INSTANCE: defser_t NODE : 000 FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200
0
1514
benchpolo
by: benchpolo | last post by:
I am currently modifying an existing DTS process by adding a new field in the Transformation task. This process queries data from SQL tables and import it to MSExcel. Steps 1. Drop the table 2. Create the table 3. Connect to SQL server and perform data import to excel When I was testing the new field that I added I am getting this error.
30
3810
by: Medvedev | last post by:
i see serveral source codes , and i found they almost only use "new" and "delete" keywords to make they object. Why should i do that , and as i know the object is going to be destroy by itself at the end of the app for example: class test { public: int x;
2
3119
by: jmike | last post by:
I'm using some legacy code that has a user-defined exception in it. The top level program includes this line from TestRunError import * It also imports several other modules. These other modules do not explicitly import TestRunError. TestRunError is raised in various places throughout the modules.
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8856
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8762
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...
0
7365
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
5653
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
4179
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...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
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
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.