473,385 Members | 1,641 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.

Help Too many Fields

I am needing some advice from some of you more advanced programmers.
I am trying to write a database for my employer. This database has
like 303 fields and I ran into a error that I had too many fields in
my table. I tried to split the data into two tables. Now I cannot put
all the fields on one form like he wants. It won't let me. I need to
keep the fiels in both tables working together because they will
contain one record on my form.

How do I usee all 300+ fields at one time on a field? Any help would
really be appreciated. HELP!!!

.... Thanks Tom
Nov 12 '05 #1
10 5156
TC
You need to start by reading this:

http://support.microsoft.com/support...es/Q100139.ASP

HTH,
TC
"Tom Conley" <tc**@hotmail.com> wrote in message
news:83********************************@4ax.com...
I am needing some advice from some of you more advanced programmers.
I am trying to write a database for my employer. This database has
like 303 fields and I ran into a error that I had too many fields in
my table. I tried to split the data into two tables. Now I cannot put
all the fields on one form like he wants. It won't let me. I need to
keep the fiels in both tables working together because they will
contain one record on my form.

How do I usee all 300+ fields at one time on a field? Any help would
really be appreciated. HELP!!!

... Thanks Tom

Nov 12 '05 #2
rkc

"Tom Conley" <tc**@hotmail.com> wrote in message
news:83********************************@4ax.com...
I am trying to write a database for my employer. This database has
like 303 fields and I ran into a error that I had too many fields in
my table. I tried to split the data into two tables. Now I cannot put
all the fields on one form like he wants. It won't let me. I need to
keep the fiels in both tables working together because they will
contain one record on my form.

How do I usee all 300+ fields at one time on a field? Any help would
really be appreciated. HELP!!!


Does your 'employer' also want this all on one screen?
Nov 12 '05 #3
"TC" <a@b.c.d> wrote in message news:<1065686340.166766@teuthos>...
You need to start by reading this:

http://support.microsoft.com/support...es/Q100139.ASP

HTH,
TC
"Tom Conley" <tc**@hotmail.com> wrote in message
news:83********************************@4ax.com...
I am needing some advice from some of you more advanced programmers.
I am trying to write a database for my employer. This database has
like 303 fields and I ran into a error that I had too many fields in
my table. I tried to split the data into two tables. Now I cannot put
all the fields on one form like he wants. It won't let me. I need to
keep the fiels in both tables working together because they will
contain one record on my form.

How do I usee all 300+ fields at one time on a field? Any help would
really be appreciated. HELP!!!

... Thanks Tom


I think you may have a problem here. The maximum number of fields in a
table is 255. I think the same hold true for forms.
Nov 12 '05 #4
And if your database is somehow already normalized and you *still*
need 300+ fields on your form (God help your poor users!), you would
have to base the form on a query...

SELECT A.*, B.*
FROM A INNER JOIN B ON A.PK=B.FK;

and then maybe you can build your form... but normalize first. As I
read somewhere once... turn the computer off, get out a stack of paper
or notecards or whatever and start writing. Figure out what goes
where... then try again.
Nov 12 '05 #5
On Wed, 08 Oct 2003 18:41:43 -0500, Tom Conley <tc**@hotmail.com>
wrote:
I am needing some advice from some of you more advanced programmers.
I am trying to write a database for my employer. This database has
like 303 fields and I ran into a error that I had too many fields in
my table.


Generally, this is a clue that there is a problem in the design of the
database. I'd start there first. Really examine the fields you're
capturing and think about why they're there and whether or not they'll
result in any duplication. If so, then there should be another table.

Displaying the information in a way that your employer can use isn't
that hard using forms and subforms. You can pretty much control how
they appear so no one needs to *know* the data's being stored in
different tables if they're offended by that idea. But seriously,
check your design first before crowbaring this many fields into a
form.

--
Siobhan Perricone
Systems Developer
Vermont Agency of Natural Resources
(my comments are my own, not my employers)
Nov 12 '05 #6
rkc

"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
As I
read somewhere once... turn the computer off, get out a stack of paper
or notecards or whatever and start writing. Figure out what goes
where... then try again.


This probably sounds goofy, but I almost always design my data
structure and toss ideas around using Window's plain old Paint Brush.
You can cut and paste text from other sources, move things around, use
colors, draw arrows, etc. All for the affordable price of $0 dollars.

When I am convinced I have things right, I then do something many
in this ng say is a waste of time, I write DDL and run a script to create
the tables. Once you are familiar with the Jet dialect it's much faster
than point and click.

Nov 12 '05 #7
"rkc" <rk*@yabba.dabba.do.rochester.rr.com> wrote in message news:<WN*******************@twister.nyroc.rr.com>. ..
"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
As I
read somewhere once... turn the computer off, get out a stack of paper
or notecards or whatever and start writing. Figure out what goes
where... then try again.


This probably sounds goofy, but I almost always design my data
structure and toss ideas around using Window's plain old Paint Brush.
You can cut and paste text from other sources, move things around, use
colors, draw arrows, etc. All for the affordable price of $0 dollars.

When I am convinced I have things right, I then do something many
in this ng say is a waste of time, I write DDL and run a script to create
the tables. Once you are familiar with the Jet dialect it's much faster
than point and click.


How do you do it? I have used the usual Oracle-like syntax, but not
so much Access... ie

CREATE TABLE MyTable(
Field1 dbText(20),
Field2 dbLong,
.....)
Nov 12 '05 #8
TC

"rkc" <rk*@yabba.dabba.do.rochester.rr.com> wrote in message
news:WN*******************@twister.nyroc.rr.com...

(snip)
When I am convinced I have things right, I then do something many
in this ng say is a waste of time, I write DDL and run a script to create
the tables. Once you are familiar with the Jet dialect it's much faster
than point and click.

I do it via the UI initially. But then I write scripts or VBA for the
updates. That way I can upgrade a customer from v'x' to v'y' by running the
appropriate script(s), without having to remember what changes I made to the
db structure from version to version.

TC

Nov 12 '05 #9
rkc

"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
"rkc" <rk*@yabba.dabba.do.rochester.rr.com> wrote in message

news:<WN*******************@twister.nyroc.rr.com>. ..
"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
When I am convinced I have things right, I then do something many
in this ng say is a waste of time, I write DDL and run a script to create the tables. Once you are familiar with the Jet dialect it's much faster
than point and click.


How do you do it? I have used the usual Oracle-like syntax, but not
so much Access... ie

CREATE TABLE MyTable(
Field1 dbText(20),
Field2 dbLong,
....)


I don't think the basics are much different.

A place to start is JetSQL40.chm or JetSQL35.hlp, which ever you
can find on your system.

Here's an example that creates the Order Details table found in the
NorthWind database (Access 2002 version, I think).
This was generated from a script so many of the Create Index
statements are redundant.

CREATE TABLE OrderDetails (
OrderID Long,
ProductID Long NOT NULL ,
UnitPrice Currency NOT NULL ,
Quantity Integer NOT NULL ,
Discount Single NOT NULL ,
CONSTRAINT pkOrderDetails PRIMARY KEY (OrderID,ProductID),
CONSTRAINT OrdersOrderDetails FOREIGN KEY (OrderID)
REFERENCES Orders (OrderID),
CONSTRAINT ProductsOrderDetails FOREIGN KEY (ProductID)
REFERENCES Products (ProductID)
)

Create Index OrderID
ON Order Details (OrderID);

Create Index OrdersOrder Details
ON Order Details (OrderID);

Create Unique Index PrimaryKey
ON Order Details (OrderID,ProductID)
WITH DISALLOW NULL;

Create Index ProductID
ON Order Details (ProductID);

Create Index ProductsOrder Details
ON Order Details (ProductID);



Nov 12 '05 #10
I suspect that some of the fields depend upon others and that there is some
duplication of data in your current design.
I suggest you look up the 'Normalization' rules. Normal forms 1, 2, and 3
are very inportant and can usually be followed without too much trouble.
Hugh

"Siobhan Perricone" <si***************@notspam.state.vt.us> wrote in message
news:o9********************************@4ax.com...
On Wed, 08 Oct 2003 18:41:43 -0500, Tom Conley <tc**@hotmail.com>
wrote:
I am needing some advice from some of you more advanced programmers.
I am trying to write a database for my employer. This database has
like 303 fields and I ran into a error that I had too many fields in
my table.


Generally, this is a clue that there is a problem in the design of the
database. I'd start there first. Really examine the fields you're
capturing and think about why they're there and whether or not they'll
result in any duplication. If so, then there should be another table.

Displaying the information in a way that your employer can use isn't
that hard using forms and subforms. You can pretty much control how
they appear so no one needs to *know* the data's being stored in
different tables if they're offended by that idea. But seriously,
check your design first before crowbaring this many fields into a
form.

--
Siobhan Perricone
Systems Developer
Vermont Agency of Natural Resources
(my comments are my own, not my employers)

Nov 12 '05 #11

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

Similar topics

20
by: Jack Schitt | last post by:
I thought I was starting to get a handle on Access, until I tried doing something useful...now I'm stuck. I have a DB with two tables - to keep it simple I'll say that one is an Employee File...
1
by: MHenry | last post by:
Hi, I have a table with duplicate records. Some of the duplicates need to be eliminated from the table and some need not. A duplicate record does not need to be eliminated if the one record...
8
by: newbie | last post by:
hello How can I update more than one tables on the same form? The relationship is one to many from a master table to 3 other related tables. on the form, I have to setvalue for a few...
2
by: Proteus | last post by:
I'm running Access 97 on Windows 98. I need to make large tables and queries with approaching but not exceeding 225 fields (columns). Access is giving me a "too many fields" message when I try to...
4
by: Proteus | last post by:
I'm running Access 97 on Windows 98. I need to make large tables and queries with approaching but not exceeding 225 fields (columns). Access is giving me a "too many fields" message when I try to...
28
by: Siv | last post by:
Hi, If I run the following: strSQL = "Select * FROM Clients;" da = New OleDb.OleDbDataAdapter(strSQL, Conn) 'Create data adapter cb = New OleDb.OleDbCommandBuilder(da) ...
6
by: dick | last post by:
Am working with MS Access 2003 & tables downloaded from Oracle. Am not a GURU, more of a hacker, but have done a bit of everything in many languages/programs/etc. I have data fields in 2 tables...
13
by: Jack B | last post by:
I'm using Access 2002 to create a database for a small opera company that my wife is involved in, and I'm more than a bit rusty because I haven't created a new Access database since about 1999. ...
4
by: Debbiedo | last post by:
My software program outputs an XML Driving Directions file that I need to input into an Access table (although if need be I can import a dbf or xls) so that I can relate one of the fields...
1
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.