Dear Access 2000 users,
I have a crosstab query that puts together certain information
perfectly. It has a criteria that is based on a form that limits how
many columns are returned based on the date selected. Here's the
problem:
The report that the crosstab query feeds was initially created to show
all the dates and thus, all 26 columns. However, since I modified the
crosstab query to only return up to what is selected on the "criteria
form", the report opens only after giving several error messages
saying can't find field. of course, this is perfectly understandable,
but is there a way around this? Either to shut the warnings off (the
ugly, incorrect way, I'm sure) on the report or, better yet, to
somehow add "dummy columns" to fill up the crosstab query so the
report won't return any errors? If there is a third option, I'm more
than willing to listen. Thanks a million in advance!
Kevin 4 2067
"No Spam" <no****@earthlink.net> wrote in message
news:ia********************************@4ax.com... Dear Access 2000 users,
I have a crosstab query that puts together certain information perfectly. It has a criteria that is based on a form that limits how many columns are returned based on the date selected. Here's the problem:
The report that the crosstab query feeds was initially created to show all the dates and thus, all 26 columns. However, since I modified the crosstab query to only return up to what is selected on the "criteria form", the report opens only after giving several error messages saying can't find field. of course, this is perfectly understandable, but is there a way around this? Either to shut the warnings off (the ugly, incorrect way, I'm sure) on the report or, better yet, to somehow add "dummy columns" to fill up the crosstab query so the report won't return any errors? If there is a third option, I'm more than willing to listen. Thanks a million in advance!
You can enter all possible column names in the ColumnNames property of the
appropriate column in query design view. That will force all columns to be
output even when they don't have data. It also allows you to control the
order of the columns (if that's a concern).
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Rick,
Thanks a million for the quick reply - can you please elaborate on
ColumnNames? Is that when I precede the field name with a different
name and a column (NewName: [field1])? Or is there something I am
missing? And if I do this, even though some of the columns I renamed
might not be there, the query will still "fill up"? Thanks!
On Wed, 18 Aug 2004 07:39:38 -0500, "Rick Brandt"
<ri*********@hotmail.com> wrote: "No Spam" <no****@earthlink.net> wrote in message news:ia********************************@4ax.com.. . Dear Access 2000 users,
I have a crosstab query that puts together certain information perfectly. It has a criteria that is based on a form that limits how many columns are returned based on the date selected. Here's the problem:
The report that the crosstab query feeds was initially created to show all the dates and thus, all 26 columns. However, since I modified the crosstab query to only return up to what is selected on the "criteria form", the report opens only after giving several error messages saying can't find field. of course, this is perfectly understandable, but is there a way around this? Either to shut the warnings off (the ugly, incorrect way, I'm sure) on the report or, better yet, to somehow add "dummy columns" to fill up the crosstab query so the report won't return any errors? If there is a third option, I'm more than willing to listen. Thanks a million in advance!
You can enter all possible column names in the ColumnNames property of the appropriate column in query design view. That will force all columns to be output even when they don't have data. It also allows you to control the order of the columns (if that's a concern).
"No Spam" <no****@earthlink.net> wrote in message
news:n9********************************@4ax.com... Rick,
Thanks a million for the quick reply - can you please elaborate on ColumnNames? Is that when I precede the field name with a different name and a column (NewName: [field1])? Or is there something I am missing? And if I do this, even though some of the columns I renamed might not be there, the query will still "fill up"? Thanks!
In design view of the crosstab query make sure the property sheet is being
displayed and then put focus into the design grid column that has the
Crosstab entry of "Column Heading". The property sheet should then show a
property named "Column Headings" (sorry I got it wrong in my first
response).
With your cursor in that property press <F1> to see the help topic. It's
fairly straight-forward.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
You sir, are magnificent.
Kev
On Wed, 18 Aug 2004 10:53:02 -0500, "Rick Brandt"
<ri*********@hotmail.com> wrote: "No Spam" <no****@earthlink.net> wrote in message news:n9********************************@4ax.com.. . Rick,
Thanks a million for the quick reply - can you please elaborate on ColumnNames? Is that when I precede the field name with a different name and a column (NewName: [field1])? Or is there something I am missing? And if I do this, even though some of the columns I renamed might not be there, the query will still "fill up"? Thanks!
In design view of the crosstab query make sure the property sheet is being displayed and then put focus into the design grid column that has the Crosstab entry of "Column Heading". The property sheet should then show a property named "Column Headings" (sorry I got it wrong in my first response).
With your cursor in that property press <F1> to see the help topic. It's fairly straight-forward. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Donna Sabol |
last post by:
First, I should start by saying I am creating a database to be used by
some very impatient, non-computer literate people. It needs to be
seameless in it's operation from their point of view. I...
|
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...
|
by: Edward |
last post by:
ACCESS 2k
I need to design a report based on a rota system for staff at various
shops. The data is effectively stored in a single table, along the
lines of:
Initials (e.g. BH, FG, RM etc.)...
|
by: Richard Hollenbeck |
last post by:
I tried to ask this question before on the 14th of January but I never got a
reply. I'm still struggling with the problem. I'll try to rephrase the
question:
I have a crosstab query with rows...
|
by: Bryan |
last post by:
I've been looking over this newsgroup, but I can't find an answer to my
problem. I see that a few others have posted this issue over the
years, but none of them got a response. I'll give it...
|
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...
|
by: AccessIdiot |
last post by:
Hello all,
I have a report that is based on a crosstab query. One of the fields in the crosstab query is based on a query. It is a coded value. When I look at the crosstab query it displays the...
|
by: kcdoell |
last post by:
Hello:
I have a report that is based on the following crosstab query:
SELECT tblProduct.ProductName, QryProd_Bud.GWP_BUD, Nz(,0) AS Week_1, Nz(,0) AS Week_2, Nz(,0) AS Week_3, Nz(,0) AS Week_4,...
|
by: ollyb303 |
last post by:
Hi,
I am trying to create a dynamic crosstab report which will display number of calls handled (I work for a call centre) per day grouped by supervisor.
I have one crosstab query (Query1) which...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
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...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
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...
| |