473,898 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

transposing rows and columns

Help.

I am a bit flummoxed by the problem of how to transpose "normalized " (in the
database sense) data records into columns of for a data entry form, and then
back again when the user is finished.

My previous solution to this was to filter by query or SQL for the
observations for a particular set of criteria, then go through the resulting
records and assign them to a non-normalized work table containing ONE RECORD
with the rows x variables strung out in their own columns, then draw that up
into the data entry form, which was really just a grid of textboxes
hard-wired for a set matrix of the rows x columns. This appears to be too
inflexible for the current plethora of species (rows) that needs to be
recorded currently.

So, I am looking for a sensible way to transpose columns and rows of numbers
and text (which means cross-tabs won't help). If you have you mucked around
with arrays or had any experience in dumping it all out to an Excel
spreadsheet for the transformation and sucking it back in, or any other
insights or ideas, i'd like to hear about it.

Thanks in advance.

Howard

Nov 13 '05 #1
2 6272
On Fri, 17 Sep 2004 09:06:18 GMT, "Howard William"
<wa*********@sh aw.ca> wrote:

Check the help file for Crosstab queries.
-Tom.
Help.

I am a bit flummoxed by the problem of how to transpose "normalized " (in the
database sense) data records into columns of for a data entry form, and then
back again when the user is finished.

My previous solution to this was to filter by query or SQL for the
observations for a particular set of criteria, then go through the resulting
records and assign them to a non-normalized work table containing ONE RECORD
with the rows x variables strung out in their own columns, then draw that up
into the data entry form, which was really just a grid of textboxes
hard-wired for a set matrix of the rows x columns. This appears to be too
inflexible for the current plethora of species (rows) that needs to be
recorded currently.

So, I am looking for a sensible way to transpose columns and rows of numbers
and text (which means cross-tabs won't help). If you have you mucked around
with arrays or had any experience in dumping it all out to an Excel
spreadsheet for the transformation and sucking it back in, or any other
insights or ideas, i'd like to hear about it.

Thanks in advance.

Howard


Nov 13 '05 #2
On Fri, 17 Sep 2004 09:06:18 GMT, "Howard William"
<wa*********@sh aw.ca> wrote:
Help.

I am a bit flummoxed by the problem of how to transpose "normalized " (in the
database sense) data records into columns of for a data entry form, and then
back again when the user is finished.

My previous solution to this was to filter by query or SQL for the
observations for a particular set of criteria, then go through the resulting
records and assign them to a non-normalized work table containing ONE RECORD
with the rows x variables strung out in their own columns, then draw that up
into the data entry form, which was really just a grid of textboxes
hard-wired for a set matrix of the rows x columns. This appears to be too
inflexible for the current plethora of species (rows) that needs to be
recorded currently.

So, I am looking for a sensible way to transpose columns and rows of numbers
and text (which means cross-tabs won't help). If you have you mucked around
with arrays or had any experience in dumping it all out to an Excel
spreadsheet for the transformation and sucking it back in, or any other
insights or ideas, i'd like to hear about it.

Thanks in advance.

Howard

Hi
See knowledgebase article eg http://support.microsoft.com/?kbid=202176
for Access 2000 or ones referred to there for other Access versions.
David
Nov 13 '05 #3

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

Similar topics

2
4728
by: Fabio | last post by:
Hello, is there any quite easy solution for the problem of transposing the rows into the columns? I have the following table with some data in it: dealer date 09.00 10.00 11.00 12.00 13.00 14.00 ----------------------------------------------------------------- 1 2004-10-01 1/1 2/3 3/3 3/4 4/5 0/3 1 2004-10-02 0/1 1/3 1/3 1/4 3/5 1/3
8
2870
by: Leszek Gruszka | last post by:
Hello! I need to transpose some columns into rows and rows into columns. I know, tha i can do it by cursor, but i don't know how make it... I read a lot about it, but still don't understand... Can someone help me? *** Sent via Developersdex http://www.developersdex.com ***
3
4896
by: Jim Heavey | last post by:
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that the best method? Do you have a sample of how to do this?
68
6857
by: Martin Joergensen | last post by:
Hi, I have some files which has the following content: 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 0 0 0 0 0
9
10681
by: Classic-Car-World Ltd | last post by:
Hi, I have some data in a table in columns which I need to convert into rows. This is specification data for some tools etc. The data is currently in the following format: Product No, order, description, value 1000, 1, model No, Ak272 1000, 2, Size, 10mm 1000, 3, Length, 20mm 1001, 1, Model No, Ak273
1
2106
by: trizub | last post by:
I have a table of populations of cities (identified by country, state, cities) on particular dates. How do I transpose the date values in my rows to a date value column that lists populations for that date. In other words go from this: Date Country State City Population 12/20 US IL Flora 1432 12/19 US IL Flora 1427 12/18 US IL Flora 1425 12/20 US AR Flora 1432
1
1486
by: TimHop12 | last post by:
Lets consider the following query: Select Col1, Col2 from Table1 where Colx = 'A5100650867' This gives result as: Col1 Col2 E-mail Address xyz@GMAIL.com Web Site www.GOOGLE.com I want the outcome as:
11
2209
by: Haydee Zimmerman | last post by:
Hoping someone can help me. I have 2 Access tables with a one to many relationship. the 1 side table holds the billing information, the many table side holds the billing id and modifier#. Now I need to transpose the data into: billing id, modifier1, and modifier 2. If I do a crosstab query I get different modifiers as column headings but I only want the 2 columns. for example: billing id modifier 1 modifier2 1100 50...
2
1646
by: owuraku | last post by:
Hi guys I am have two excel workbooks. One book has data formatted according rows. Example: ROW 1: Loan # ; Principal Amount ; Interest Rate ; Date The other book needs to be formatted so that it contains a column that looks like: COLUMN:
0
9993
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
9839
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11256
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
10857
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...
1
10946
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7187
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
5877
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
6076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4705
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

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.