473,395 Members | 1,468 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,395 software developers and data experts.

Preferences for loading unbound data?

The few times in the past that I've loaded unbound data, I've tended to
cheat and use temp tables (not really unbound) or use code for small
datasets.

I'm currently involved in a project that has numerous tables in the 200
column range, with several thousand rows of data. A consulting review prior
to my involvement stressed the wasted space and database speed as the major
impetus for normalization. Although the db actually works fairly well.
However, it's a bitch to manipulate the data with 200 column tables with
relative years and categories mashed together as columns. Plus having all
the data categories/types hard coded means that the same data types exists
with different spellings all over the place.

Unfortunately normalizing the data has broken most of the existing forms. My
initial thought was to use "smart labels" for the text boxes and use a
collection (class) to load and save the data. In fact this has worked fairly
well for one of the more complex forms, but there are quite a few more to
go. These forms have a very specific layout with hard coded labels (not
continuous) and a mixture of detailed and summarized records. It's looking
like building temp tables and binding them to the existing forms is still
the best way to go, given the "customized" layout of these forms.

So I'm curious, what's your preference for loading data to unbound forms?

Nov 13 '05 #1
4 1909
First, a couple of general comments:
In my experience, normalizing the data is often a much bigger task than
rewriting the forms, so if you've got that part done, you're well on your
way.
I'm not so sure than non-normalized data (empty columns) wastes a lot of
space, although repetitious storing of information (another kind of
non-normalized data) certainly can. And you're very right - 200 columns is
way rough to deal with. Plus, that many columns is unusual unless you're
actually storing data in the column names - a real no-no.

I'm not sure what you mean by "unbound data" - forms can be unbound if they
have no RecordSource, but the data???
In any case, temp tables are going to cause quite a performance hit, because
they require you to write out to the hard drive. Not to mention if you're
permitting updates, you then have to figure out how to integrate the temp
table data back into the main data table(s). Is there a reason you can't
just use a SELECT query of some sort?

"Bill Stock" <Me*@Privacy.net> wrote in message
news:Kv******************************@rogers.com.. .
The few times in the past that I've loaded unbound data, I've tended to
cheat and use temp tables (not really unbound) or use code for small
datasets.

I'm currently involved in a project that has numerous tables in the 200
column range, with several thousand rows of data. A consulting review prior to my involvement stressed the wasted space and database speed as the major impetus for normalization. Although the db actually works fairly well.
However, it's a bitch to manipulate the data with 200 column tables with
relative years and categories mashed together as columns. Plus having all
the data categories/types hard coded means that the same data types exists
with different spellings all over the place.

Unfortunately normalizing the data has broken most of the existing forms. My initial thought was to use "smart labels" for the text boxes and use a
collection (class) to load and save the data. In fact this has worked fairly well for one of the more complex forms, but there are quite a few more to
go. These forms have a very specific layout with hard coded labels (not
continuous) and a mixture of detailed and summarized records. It's looking
like building temp tables and binding them to the existing forms is still
the best way to go, given the "customized" layout of these forms.

So I'm curious, what's your preference for loading data to unbound forms?

Nov 13 '05 #2

"MacDermott" <ma********@nospam.com> wrote in message
news:wd******************@newsread1.news.atl.earth link.net...
First, a couple of general comments:
In my experience, normalizing the data is often a much bigger task than
rewriting the forms, so if you've got that part done, you're well on your
way.
The normalization and data conversion was fairly interesting work. Putting
it all back together is not. :)

I'm not so sure than non-normalized data (empty columns) wastes a lot of
space, although repetitious storing of information (another kind of
non-normalized data) certainly can. And you're very right - 200 columns
is
way rough to deal with. Plus, that many columns is unusual unless you're
actually storing data in the column names - a real no-no.
Yes, they were.
I'm not sure what you mean by "unbound data" - forms can be unbound if
they
have no RecordSource, but the data???
In any case, temp tables are going to cause quite a performance hit,
because
they require you to write out to the hard drive. Not to mention if you're
permitting updates, you then have to figure out how to integrate the temp
table data back into the main data table(s). Is there a reason you can't
just use a SELECT query of some sort?
90% of the forms require updates. I was thinking I could get away with
SELECT queries for the ones that do not. But quite a few of the forms have a
mixture of detailed records, summaries and numerous exceptions to
category/type*relative year combinations. This leaves me with too many
subforms, very complex queries or unions. The temp tables seemed the lesser
of way too many evils. Plus they will allow me a simple path to updates. I
would have liked them to regroup their forms and show like data together,
but I'm stuck with multiple subforms per tab.

The temp tables should not be too bad, as the data is always filtered by
product. So I'm only loading a small number of records at any given time.

"Bill Stock" <Me*@Privacy.net> wrote in message
news:Kv******************************@rogers.com.. .
The few times in the past that I've loaded unbound data, I've tended to
cheat and use temp tables (not really unbound) or use code for small
datasets.

I'm currently involved in a project that has numerous tables in the 200
column range, with several thousand rows of data. A consulting review

prior
to my involvement stressed the wasted space and database speed as the

major
impetus for normalization. Although the db actually works fairly well.
However, it's a bitch to manipulate the data with 200 column tables with
relative years and categories mashed together as columns. Plus having all
the data categories/types hard coded means that the same data types
exists
with different spellings all over the place.

Unfortunately normalizing the data has broken most of the existing forms.

My
initial thought was to use "smart labels" for the text boxes and use a
collection (class) to load and save the data. In fact this has worked

fairly
well for one of the more complex forms, but there are quite a few more to
go. These forms have a very specific layout with hard coded labels (not
continuous) and a mixture of detailed and summarized records. It's
looking
like building temp tables and binding them to the existing forms is still
the best way to go, given the "customized" layout of these forms.

So I'm curious, what's your preference for loading data to unbound forms?


Nov 13 '05 #3
Perhaps you could post an example of a case where you think a temp table
would be a good solution.
For example, how do you propose to create/populate this table? How will you
do updates from it?
I'm still mystified as to how this could be a workable approach...

90% of the forms require updates. I was thinking I could get away with
SELECT queries for the ones that do not. But quite a few of the forms have a mixture of detailed records, summaries and numerous exceptions to
category/type*relative year combinations. This leaves me with too many
subforms, very complex queries or unions. The temp tables seemed the lesser of way too many evils. Plus they will allow me a simple path to updates. I
would have liked them to regroup their forms and show like data together,
but I'm stuck with multiple subforms per tab.

The temp tables should not be too bad, as the data is always filtered by
product. So I'm only loading a small number of records at any given time.

"Bill Stock" <Me*@Privacy.net> wrote in message
news:Kv******************************@rogers.com.. .
The few times in the past that I've loaded unbound data, I've tended to
cheat and use temp tables (not really unbound) or use code for small
datasets.

I'm currently involved in a project that has numerous tables in the 200
column range, with several thousand rows of data. A consulting review

prior
to my involvement stressed the wasted space and database speed as the

major
impetus for normalization. Although the db actually works fairly well.
However, it's a bitch to manipulate the data with 200 column tables with relative years and categories mashed together as columns. Plus having all the data categories/types hard coded means that the same data types
exists
with different spellings all over the place.

Unfortunately normalizing the data has broken most of the existing forms.
My
initial thought was to use "smart labels" for the text boxes and use a
collection (class) to load and save the data. In fact this has worked

fairly
well for one of the more complex forms, but there are quite a few more

to go. These forms have a very specific layout with hard coded labels (not
continuous) and a mixture of detailed and summarized records. It's
looking
like building temp tables and binding them to the existing forms is still the best way to go, given the "customized" layout of these forms.

So I'm curious, what's your preference for loading data to unbound forms?



Nov 13 '05 #4
"Bill Stock" <Me*@Privacy.net> wrote
So I'm curious, what's your preference for
loading data to unbound forms?


My very strong preference is "don't do it" because I (almost? absolutely?)
never create a unbound form for handling data.

Unbound forms are just fine for switchboards and control funtions (like
choosing limits and running reports), not for handling data.

I've worked on a few unbound forms for handling data, when doing maintenance
on someone else's database. And, since making it over to suit my taste was
not what I was contracted to do, I didn't, but just worked with what was
there.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #5

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

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
0
by: Suzanne | last post by:
Hello experts, I am a VBA newbie. Most of the tricks I apply to my applications I learn from here or google. I couldn't find a solution for the following two things, they both are related to...
11
by: Tom | last post by:
I am planning on adding a Preferences form to my application and using the Property Grid to display the preferences to the user. What do you think would be the best way to save these preferences...
1
by: Tom | last post by:
I have a large application; lots of forms, multiple dynamic DLLs, etc. I also have, in the appliation, a general 'Preferences' class object (which is in itself a separate DLL, and I just include a...
1
by: Bala | last post by:
Hi, Currently i am loading the file names into datagrid (unbound) from a folder(sub folders too). so for this i am using this below code. but its too slow to loading all the file names. is it...
3
by: google | last post by:
I'm developing an application for use within my company in Access 2003. I'm new to '03, the application I did for my former employer was in '97. The two applications have similar functionality...
10
by: Matthew Wells | last post by:
Hello. I've converted a bound Access 2000 form which displays data retrieved from an Access 2000 database to an unbound form. Now my hyperlinks don't work. I'm assuming it's because the form...
13
by: PW | last post by:
Hi, This is bizarre. I've check and rechecked the spelling, cut and paste the name of the form (when trying to rename the form) and the control yet I still get a parameter prompt when the form...
11
by: jwessner | last post by:
I have a form (Form1) which contains basic Project data and a subform listing the personnel assigned to the Project as a continuous form. Selecting a person on that project and clicking on a command...
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: 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...
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
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.