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

Output of a crosstab into a Memo field

My quandary is this.....

I have a label application (Bartender) that I have hooked up to Access,
to use the output of a cross tab.

I've succeeded in getting the data within Access, but my problem lies
with my getting the output of the crosstab into one field in the label
template.

Basically, my crosstab of cloth sizes and quantities, which could be in
size buckets of varying definitions eg;

S, M, L, XL or
8, 10, 12, 14 or
2-3, 3-4, 4-5 etc etc

The label application only recognises individual fields of the
datasource and doesn't have the functionality to act like a report/sub
report (which is ideally what I really want!).
The number of fields may not be consistent each time it's run!

I'm thinking I ought to loop through the querydef to get the field
names, then loop through a recordset and build a string of the entire
query output, and dump it into a Memo field.

Has anyone had to do anything like this before, or offer up suggestions
for better way...?

Thanks in advance.

Cheers

Phil

Nov 21 '06 #1
2 1675
"Phil Latio" <ph********@lycos.co.ukwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
My quandary is this.....

I have a label application (Bartender) that I have hooked up to Access,
to use the output of a cross tab.

I've succeeded in getting the data within Access, but my problem lies
with my getting the output of the crosstab into one field in the label
template.

Basically, my crosstab of cloth sizes and quantities, which could be in
size buckets of varying definitions eg;

S, M, L, XL or
8, 10, 12, 14 or
2-3, 3-4, 4-5 etc etc

The label application only recognises individual fields of the
datasource and doesn't have the functionality to act like a report/sub
report (which is ideally what I really want!).
The number of fields may not be consistent each time it's run!

I'm thinking I ought to loop through the querydef to get the field
names, then loop through a recordset and build a string of the entire
query output, and dump it into a Memo field.

Has anyone had to do anything like this before, or offer up suggestions
for better way...?

Thanks in advance.

Cheers

Phil
I don't think there's anything wrong with what you're proposing except for
the "dump it into a Memo field" bit. Just concatenate at run-time using a
query. <pun alert Hope you get it licked.

Regards,
Keith.
Nov 21 '06 #2
Just re-read my post and I missed something out which may be relevant;

My Xtab query may have several rows along the lines of;

Style Colour S M L XL XXL
ABC RED 1 2 2 1 1
ABC BLUE 1 2 2 1 1
ABC GRN 1 1 2 2 1

I'm looking to re-build that in it'sentirety as a string!!
I'm thinking it's going to be awfully nasty with a liberal sprinkling
of vbTab's and vbCrLf's dotted around

:-(
Keith Wilby wrote:
"Phil Latio" <ph********@lycos.co.ukwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
My quandary is this.....

I have a label application (Bartender) that I have hooked up to Access,
to use the output of a cross tab.

I've succeeded in getting the data within Access, but my problem lies
with my getting the output of the crosstab into one field in the label
template.

Basically, my crosstab of cloth sizes and quantities, which could be in
size buckets of varying definitions eg;

S, M, L, XL or
8, 10, 12, 14 or
2-3, 3-4, 4-5 etc etc

The label application only recognises individual fields of the
datasource and doesn't have the functionality to act like a report/sub
report (which is ideally what I really want!).
The number of fields may not be consistent each time it's run!

I'm thinking I ought to loop through the querydef to get the field
names, then loop through a recordset and build a string of the entire
query output, and dump it into a Memo field.

Has anyone had to do anything like this before, or offer up suggestions
for better way...?

Thanks in advance.

Cheers

Phil

I don't think there's anything wrong with what you're proposing except for
the "dump it into a Memo field" bit. Just concatenate at run-time using a
query. <pun alert Hope you get it licked.

Regards,
Keith.
Nov 21 '06 #3

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

Similar topics

1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
5
by: Mal | last post by:
Hi, I have a button on a form that outputs a report to word. While it has been working well for a while, today it is not. The behaviour now is that it endlessly outputs pages to word. There...
2
by: Sherman H. | last post by:
I have a few questions for crosstab and popup form questions: 1. I created a crosstab as follows: IT Financial Operation John 21 22 ...
7
by: newguy | last post by:
I am trying to get the totals of a table by client by type of income. This query will get what I am looking for with each unique combination as a row: SELECT Sales.Client, BillCode.Type,...
2
by: scott.k.fraley | last post by:
....and the SELECT thats trying to pull from said Query doesn't like it one bit! ;) I'm working on this project (in Access 2002) and there is a report who's RecordSource is the following...
14
by: Tina | last post by:
My employer tracks productivity/performance of clinicians (how much they bill) each week, its averages for the month, and the 6 months. These averages are compared to their expected productivity....
1
by: Jeff | last post by:
A client showed me this one. In a totals query that counts items and links to a parent record, what should be the output from a memo field shows up as Chinese characters - I kid not. He has a...
2
by: Keith Wilby | last post by:
I have a report that is based upon a crosstab query which return only the columns (fields) it has data for. When my report runs it sometimes fails because some of the text boxes don't have a field...
9
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo...
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: 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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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...

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.