Expressions In Cross Tab Querys

Mar 6, 2006

i'm struggling here

i have a simple cross tab query. i'd like to put a parameter value as criteria. lets say i hard code the criteria with 2006 it works fine. but when i reference it to the value in a form e.g forms!frm_navmaster!txtyeardate then i start having problems. i don't know to start. i've tried using the expression and where values in design view....uuggghhh.

any ideas are appreciated

View Replies


ADVERTISEMENT

Querys

Sep 24, 2007

I have created a cbo box that I am using to selects locations (citys) in a field. I have used "Distinct" to elimate the duplicates but I also want to elimate three locations. They are Verdun, Lasalle, and Montreal. In my query I have tried the following statement in the Critera location. Not "Verdun" Or "Lasalle" Or "Montreal". The query returns the following statement: <>"Verdun" Or "Lasalle" Or "Montreal" this statement does take out the first location "Verdun" but the two others still remain in the field. How do I solve this problem?

View 3 Replies View Related

Forms And Querys

Aug 2, 2006

I have a form which has a subform on it and this performs a query and displays a list of courses only done by a particualr provider which changes when you change the record i now have buttons beside each course and want to be able to get it to open up another form and then display dates for that particualr course and whos attending whats the easiest and best way to do this as im really stuck and need to get this finished.

View 4 Replies View Related

Currency Querys???

Dec 7, 2005

Hello All,

I'm only fairly basic when it comes to Access, and I need some help with a query. Im running Access 2003 on XP Pro, and my current database is in a one to many relationship with Staff and Activities. A part of the Activites field involves the expenses of that particular activity. I have a field in my Activities table saying total expenses. The expense formats are in currency (including total). When I go to make a query, I'm using the following critera for the TotalExpenses field. "FoodExpenses"+"OtherExpenses". However, when I go to run the query, it tells me that there is a data type mismatch in the criteron expression. I changed the field formats to text and it will run. Can access 2003 support currency based querys and if so how? It would be really handy to know.

View 5 Replies View Related

Querys And Switchbords....

Jun 19, 2006

I have to do a query that uses as condition a row from a switchbord.... Is that possible?? Can u help. (I created my switch bord with the Access tool).
Thanks.:cool:

View 2 Replies View Related

Querys With Subforms

Sep 7, 2006

Hi guys
The question i am looking for help with is.....

i have a database with a form(form1) and a subform(sub1), when i query this it will only desplay information that has all boxes filled in. i want it so that if there is info in form 1 but no info in sub1 i will still display the info from form 1. At the moment it just ignores the whole thing and does not give certain records from form 1.

any ideas?

James

View 2 Replies View Related

Disable Ctrl + C In Querys Or The Whole Db

Apr 24, 2007

Hey, I have a database and a login panel and I need to stop some users from using ctrl + c in query's or through out the database. The way I have set the db up is if a user logs in correct then they get directed to the appropriate switchboard. I have already disable all toolbars therefore disabling right click and on my forms I have vba to stop ctrl + c but can't figure out how to do it on queries, I have tried search and searching Google but if I have missed a post please include a link, any help would be appreciated THANKS :)

View 3 Replies View Related

Convert Querys To Views

Nov 2, 2007

Is there a tool that converts Access querys (jet syntax) to sql views and procedures (sql server syntx)?

Thanks

View 3 Replies View Related

Creating Charts From Querys

Feb 4, 2008

Hi, I have done a search before posting but cannot find what I am looking for.

At work I use a database to record incidents (work that I do). I have written a query for incidents for 2007 and 2008 and I can do a line graph for each year showing the monthly incidents by doing Insert, Form, Chart Wizard

What I am trying to do is a line graph for 2007 and 2008 together to compare performance but i can only ever choose one query for my graph, either 2007 or 2008.

Is there a way I can get both years on one graph so as i can compare performance.

Any help/guidance appreciated.

View 9 Replies View Related

Current Date Querys

Jun 2, 2005

Hello,

I have about 1500 records in a table. We use a form to search through the records to find info on certain accounts. We now want to only search through accounts that are current, so I made a query to see only current accounts. I switched the search form from going off data right from the table to the new current date query. Now when you load the form it says "running query" and the application stops responding. The query seems to load up quick in raw format.. how come the application freezes when searching using the query instead??

thanks,
Matt

View 1 Replies View Related

Can't Show Tables And Querys

Jan 15, 2008

Hi to all

I have a .mdb Files. If i doubleclick this file the database opened but i can't see the tables and Querys. It's a program that start automatically.
I can only see the source code if i enter Alt + F11.

What i must do for see the Querys and the Tables?

regards
cobra

View 4 Replies View Related

Hardcoded Parameters In Querys--can I Find All?

Jun 21, 2005

We have a tbldepartments. At this point (has been a few years)...many dept. have merged or changed names. We want to 'change' the names of some and delete or add others.

Ok on the delete/add.

However, in many of our queries, we have the dept. name/number hardcoded in. And trust me, there are tons and tons of them...this is a big database.

Short of going through each query, is there a way to 'search/replace' either in each query or in all? To update these easily?

suggestions?

View 2 Replies View Related

Cross Tab?

May 11, 2007

I am trying to make cross tab ..to merge the two value of the same column.A B AIRA B GROUNDA C SEAi am trying to make..A B AIR & GROUNDA C SEA..any idea?........let me know, i really need this query to solve the problem..thanks guys..

View 2 Replies View Related

Cross Tab Query

Mar 31, 2006

I want to obtain the value of a third variable using the first one as row heading and the second as column heading. I can't get this using a cross table query.
Is there another way of doing it???
Thank you

View 2 Replies View Related

Cross-Tab Query

Jan 13, 2006

I've recently been having a few problems with getting a cross tab query to work. I'm currently using MS Access 2000.

I've created a query that I know want to use for the basis of my cross-tab.

I'm only after having it produce a tab of Part Type by Month using a count of all Clients.

When I use the wizard it sorts everything out fine, but when it runs I keep getting the same error message:

"The Microsfot Jet database engine does not recognize "[Start Date]" as a valid field name or expression"

In my main query I have it set so I can choose a date range using the criteria "Between [Start Date] and [End Date]" Is there a way of getting a cross tab to work using a user defined date range. I've also got fields that I have changed the column names on, EG. ClientName to Client Name (Client Name: ClientName) it is also having issues with these.

Any help would be very appreciated.

View 3 Replies View Related

Cross-tab Table

Apr 11, 2006

Dear all,

I have a small problem.....
I hope u 2 help me solving it.....
I cross tab query, with this column:
PIVOT Format([Date],"Short Date")
But as we all know that Format function returns variant(strin), So how can we reorder that column by date...
Sorry for bothering you....

Thanks & Regards

View 6 Replies View Related

Cross-tab Query

Jun 19, 2007

G'day,

I am looking to create a cross-tab query that sums multiple columns together.

A simplified version of the data is as follows

ID Date Column2 Column3 Value
123 2007/05/15 T 1 30.00
123 2007/05/15 T 2 50.00
123 2007/05/15 T 3 15.00
123 2007/05/15 T 4 10.00
123 2007/05/30 T 1 60.00
123 2007/05/30 T 2 25.00
123 2007/05/30 T 3 15.00
123 2007/05/30 T 4 16.00
146...

The desired output is as follows

ID column1(Sum of T1) column2(Sum of T2+T3) column3(Sum of T4)
123 90.00 105.00 26.00
146...

Where T# is a concatenation of column2 and column3.

Currently using the cross-tab queries I am able to get the following output:

ID T1 T2 T3 T4
123 90.00 65.00 40.00 26.00
146...

But how can I add T2 and T3 together?

Any help would be greatly appreciated keeping in mind that I am new to Access. Thanks!

View 4 Replies View Related

Cross Tab Query?

Nov 5, 2007

I can't get the data to display as I want it. I haven't done a lot of Crosstab queries, so I need someone to clarify the field settings....


I have Pallet ID's which contain Multiple UNIT ID's


so this...

PALLET-1UNITID-1
PALLET-1UNITID-2
PALLET-1UNITID-3
PALLET-1UNITID-4
PALLET-1UNITID-5
PALLET-1UNITID-6
PALLET-1UNITID-7
PALLET-1UNITID-8
PALLET-1UNITID-9
PALLET-1UNITID-10

should look like....

PALLET
PALLET-1UNITID-1UNITID-2UNITID-3UNITID-4UNITID-5UNITID-6UNITID-7UNITID-8UNITID-9UNITID-10


the unit ID's must be on the same row as the pallet record, it can be a string in one cell

View 4 Replies View Related

Cross-tab Query Problem.

Dec 22, 2005

Hi,

I have a small problem with a cross tab query. The query works perfectly when i run it and displays the data in the way i would like it to, i want it to be on a form though and when i try and do this i get problems.

I get either a message saying i have possibly chosen a query with no output fields or a microsoft doesnt understand the name of my query.

I have looked at 'cross tab querys' and 'cross tab query forms' in the search facility and have tried some of the suggestions which people have given to similar problems to mine. For example basing another query off my cross tab query and using that for the form, but it just does brings the same problems.

I would appreciate any help, thank you.

View 1 Replies View Related

Combining Cross Tab Queries

Jan 25, 2006

I have a number of cross tab queries which I run on a weekly basis, each of which is running from a different date field in the database (e.g. one query for orders received based on 'Received Date', another for orders complete based on 'Received Date'. On a weekly basis I have to open each query in design view, edit the start and end date for the week and execute the query. It would save significant time if I could enter a date range once into a form and run the series of queries based on these parameters. Any thoughts?:) :)

View 1 Replies View Related

Cross-Tab Query Questions

Sep 11, 2007

Hi

-Is is possible to make a parameterized cross-tab query? I want only to display data between certain dates and for a specific crew.

-Also, for data in the query I have the Line number (of the machine) as the row headers and the Problem names as the column headers. I also want to display the problem CATEGORIES (of the problem names) above the names. How do I do this???

:confused:

View 7 Replies View Related

Cross Tab Query Nulls

Feb 7, 2008

is there any way to make a cross tab query default to zero instead of nulls for unpopulated cells

i know i can Nz all the resultant fields, but it seems like treating the symptoms and not the cause...

:confused:

View 5 Replies View Related

Cross Reference In Form

May 28, 2006

I have 3 fields in a form all have binding to the same table.
the problem i am facing is as follows

when i enter two fields in the form the third should calculate on its own.
Lets say the three fields are names field1, field2, and field3

scenario A
I enter field1 and field2. field3 should calculate on its own by adding field1 & field2

scenario B
I enter field2 and field3. field1 should calculate in its own by subtracting field2 from field3.

any time by changing any of the field1 or field3 the other one should change based on field2.

if field2 is changed then field3 should change.

i hope i have explained the problem in detail..

please help

thanks

aseem

View 4 Replies View Related

Help With A Form And Cross Tab Query

Nov 10, 2006

Hi - I've just followed a tutorial to create a simple parameter query based on the input received by 2 combo boxes on a form. This works ok, you select the 2 values on the form - the form passes it to the query which runs, the form closes and the query is displayed - all ok.

What I would like to do, is to display the results a bit more elegantly as the end users that will use this little database won't really like to see the query window. Is it possible to display the results on the bottom of the form? So that each time you click "Ok" on the form, it re-runs the query and displays the results. Any help would be great - but you'll have to explain it simply for me as I'm a newbee to all this! Thanks in advance:eek:

View 3 Replies View Related

Expressions

Mar 4, 2008

I have a table that has questions that require Yes/No answers, simple done, however now for the tricky (or at least for me, VV new to Access) I need one of the fields to add up all the Yes and asign a value so for example:
Q1 Q2 Q3 Q4 Q5 Result
Y N Y Y N 3
How do I do this, I asume it is down to the expression for 'Field' Result but what should that expression be and where do I put it?

View 7 Replies View Related

Expressions

Jul 29, 2006

Help me what is wrong with this expression:eek: :

=IIF( [eBay Method] ="Auction",
IIF( [Start up Price] <=.99,.2,
IIF( [Start up Price] < = 9.99,.35,
IIF( [Start up Price] < =24.99,.6,
IIF( [Start up Price] < =49.99,1.2,
IIF( [Start up Price] < =199.99,2.4,
IIF( [Start up Price] < =499.99,3.6,
IIF( [Start up Price] >499.99,4.8," "
))))))),
IIF( [eBay Method] ="Buy it Now",
IIF( [Start up Price] <=9.99,.05,
IIF( [Start up Price] <=24.99,.1,
IIF( [Start up Price] <=49.99,.2,
IIF( [Start up Price] <=49.99,.25," "
))))))

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved