A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Not enough space on temp disk - Query



 
 
Thread Tools Display Modes
  #1  
Old January 8th, 2007, 09:17 PM posted to microsoft.public.access.queries
BFike
external usenet poster
 
Posts: 2
Default Not enough space on temp disk - Query

I receive this message when trying to run a query that reads some fields from
a table and the remaining fields are either from other queries or calculated
fields.
I have deleted all of the unecessary temp files form the temp folder. The
JEt.temp file has exceeded 2GB and is wanting more. I understand 69' Camaro
advised that it can also be a result of not using ANSI joins. Below is my
query as it appears in Access SQL view. I am not sure how to create the join
to the queries.

Any help would be greatly appreciated.

-Bfike
  #2  
Old January 9th, 2007, 08:49 AM posted to microsoft.public.access.queries
'69 Camaro
external usenet poster
 
Posts: 1,049
Default Not enough space on temp disk - Query

Hi.

Below is my
query as it appears in Access SQL view.


Sorry. It didn't show up. Please try again.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"BFike" wrote in message
...
I receive this message when trying to run a query that reads some fields
from
a table and the remaining fields are either from other queries or
calculated
fields.
I have deleted all of the unecessary temp files form the temp folder. The
JEt.temp file has exceeded 2GB and is wanting more. I understand 69'
Camaro
advised that it can also be a result of not using ANSI joins. Below is my
query as it appears in Access SQL view. I am not sure how to create the
join
to the queries.

Any help would be greatly appreciated.

-Bfike



  #3  
Old January 9th, 2007, 02:50 PM posted to microsoft.public.access.queries
BFike
external usenet poster
 
Posts: 2
Default Not enough space on temp disk - Query

My apologies for not attaching the Query.

Here it is:

SELECT ors_data.StoreNumber, ors_data.sku, ors_data.upc, [Unit Sales by
Store 2005].UnitsSold, [Units Sales by Store 2006].UnitsSold, [Unit Sales by
Store 2005]![UnitsSold]/[Units Sales by Store 2006]![UnitsSold]*100 AS [Pct
Change Units], [Unit Sales by Store 2005].[Units Sales 05], [Units Sales by
Store 2006].[Units Sales 06], [Unit Sales by Store 2005]![Units Sales
05]/[Units Sales by Store 2006]![Units Sales 06]*100 AS [Pct Change Sales]
FROM [Unit Sales by Store 2005], [Units Sales by Store 2006], ors_data
ORDER BY ors_data.StoreNumber;

Thanks Camaro '69

BFike
"'69 Camaro" wrote:

Hi.

Below is my
query as it appears in Access SQL view.


Sorry. It didn't show up. Please try again.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"BFike" wrote in message
...
I receive this message when trying to run a query that reads some fields
from
a table and the remaining fields are either from other queries or
calculated
fields.
I have deleted all of the unecessary temp files form the temp folder. The
JEt.temp file has exceeded 2GB and is wanting more. I understand 69'
Camaro
advised that it can also be a result of not using ANSI joins. Below is my
query as it appears in Access SQL view. I am not sure how to create the
join
to the queries.

Any help would be greatly appreciated.

-Bfike




  #4  
Old January 9th, 2007, 03:57 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Not enough space on temp disk - Query

I don't see any joins between the three tables/queries. This will cause a
huge Cartesian join. You need something between the three or else you could
be creating millions of records. Is there a line between the tables in the
query design QBE grid? There needs to be.

For testing you could also remove the ORDER BY clause as sorting records
uses space.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"BFike" wrote:

My apologies for not attaching the Query.

Here it is:

SELECT ors_data.StoreNumber, ors_data.sku, ors_data.upc, [Unit Sales by
Store 2005].UnitsSold, [Units Sales by Store 2006].UnitsSold, [Unit Sales by
Store 2005]![UnitsSold]/[Units Sales by Store 2006]![UnitsSold]*100 AS [Pct
Change Units], [Unit Sales by Store 2005].[Units Sales 05], [Units Sales by
Store 2006].[Units Sales 06], [Unit Sales by Store 2005]![Units Sales
05]/[Units Sales by Store 2006]![Units Sales 06]*100 AS [Pct Change Sales]
FROM [Unit Sales by Store 2005], [Units Sales by Store 2006], ors_data
ORDER BY ors_data.StoreNumber;

Thanks Camaro '69

BFike
"'69 Camaro" wrote:

Hi.

Below is my
query as it appears in Access SQL view.


Sorry. It didn't show up. Please try again.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"BFike" wrote in message
...
I receive this message when trying to run a query that reads some fields
from
a table and the remaining fields are either from other queries or
calculated
fields.
I have deleted all of the unecessary temp files form the temp folder. The
JEt.temp file has exceeded 2GB and is wanting more. I understand 69'
Camaro
advised that it can also be a result of not using ANSI joins. Below is my
query as it appears in Access SQL view. I am not sure how to create the
join
to the queries.

Any help would be greatly appreciated.

-Bfike




  #5  
Old January 9th, 2007, 04:43 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Not enough space on temp disk - Query

Below is something to try. It assumes a StoreNumber field in all three
tables/queries. If need be you can change it to the proper field names.

It also assumes that all three have the same stores. If not some records
will get lost. Therefore you'll need to make some Left or Right joins.

I also noticed that you are dividing (/[Units Sales by Store 2006]) . If
that table/query has a 0 in the field, you'll get get a divide by zero error
and this could happen after the query has run for a while.

SELECT ors_data.StoreNumber,
ors_data.sku,
ors_data.upc,
[Unit Sales by Store 2005].UnitsSold,
[Units Sales by Store 2006].UnitsSold,
[Unit Sales by Store 2005]![UnitsSold]/[Units Sales by Store
2006]![UnitsSold]*100 AS [Pct Change Units],
[Unit Sales by Store 2005].[Units Sales 05],
[Units Sales by Store 2006].[Units Sales 06],
[Unit Sales by Store 2005]![Units Sales 05]/[Units Sales by Store
2006]![Units Sales 06]*100 AS [Pct Change Sales]
FROM [Unit Sales by Store 2005],
[Units Sales by Store 2006],
ors_data
WHERE ors_data.StoreNumber = [Units Sales by Store 2005].StoreNumber
AND ors_data.StoreNumber = [Units Sales by Store 2006].StoreNumber
ORDER BY ors_data.StoreNumber;

--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"BFike" wrote:

My apologies for not attaching the Query.

Here it is:

SELECT ors_data.StoreNumber, ors_data.sku, ors_data.upc, [Unit Sales by
Store 2005].UnitsSold, [Units Sales by Store 2006].UnitsSold, [Unit Sales by
Store 2005]![UnitsSold]/[Units Sales by Store 2006]![UnitsSold]*100 AS [Pct
Change Units], [Unit Sales by Store 2005].[Units Sales 05], [Units Sales by
Store 2006].[Units Sales 06], [Unit Sales by Store 2005]![Units Sales
05]/[Units Sales by Store 2006]![Units Sales 06]*100 AS [Pct Change Sales]
FROM [Unit Sales by Store 2005], [Units Sales by Store 2006], ors_data
ORDER BY ors_data.StoreNumber;

Thanks Camaro '69

BFike
"'69 Camaro" wrote:

Hi.

Below is my
query as it appears in Access SQL view.


Sorry. It didn't show up. Please try again.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"BFike" wrote in message
...
I receive this message when trying to run a query that reads some fields
from
a table and the remaining fields are either from other queries or
calculated
fields.
I have deleted all of the unecessary temp files form the temp folder. The
JEt.temp file has exceeded 2GB and is wanting more. I understand 69'
Camaro
advised that it can also be a result of not using ANSI joins. Below is my
query as it appears in Access SQL view. I am not sure how to create the
join
to the queries.

Any help would be greatly appreciated.

-Bfike




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.