473,508 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Not enough space on temporary disk" (Access 2003 mde)

PW
Hi,

One of our clients is getting that error when they are trying to save
a record but I can not duplicate it here. The data is on another PC
and is linked to two workstations.

The code (listed below) is just saving interests selected from a
multi-list list box.

I've never seen that error message before. Any ideas? What does it
mean by "temporary disk"?

-paulw

*----

Set db = CurrentDb
Set rs = db.OpenRecordset("tblClientInterests")
Set ctl = Me.[lstSelected]

' First delete any records that might exist for the client:

db.Execute "DELETE * FROM " _
& "[tblClientInterests] WHERE ClientID = " &
Forms![frmClientEntry]![ClientID] & ";"

' Write the selections to the table:

For i = 0 To ctl.ListCount - 1
varItem = ctl.ItemData(i)
rs.addnew
rs![interest] = varItem
rs![ClientID] = Forms![frmClientEntry]![ClientID]
rs.Update
Next

rs.Close
Set rs = Nothing
Set db = Nothing
Set ctl = Nothing
Aug 9 '07 #1
3 9529
On Thu, 09 Aug 2007 16:33:47 -0600, PW
<pa**********************@removehotmail.comwrote :

The disk that the "TEMP" environment variable points to.
Start Run cmd.exe SET
or Control Panel System Advanced Environment Variables.

-Tom.

>Hi,

One of our clients is getting that error when they are trying to save
a record but I can not duplicate it here. The data is on another PC
and is linked to two workstations.

The code (listed below) is just saving interests selected from a
multi-list list box.

I've never seen that error message before. Any ideas? What does it
mean by "temporary disk"?

-paulw

*----

Set db = CurrentDb
Set rs = db.OpenRecordset("tblClientInterests")
Set ctl = Me.[lstSelected]

' First delete any records that might exist for the client:

db.Execute "DELETE * FROM " _
& "[tblClientInterests] WHERE ClientID = " &
Forms![frmClientEntry]![ClientID] & ";"

' Write the selections to the table:

For i = 0 To ctl.ListCount - 1
varItem = ctl.ItemData(i)
rs.addnew
rs![interest] = varItem
rs![ClientID] = Forms![frmClientEntry]![ClientID]
rs.Update
Next

rs.Close
Set rs = Nothing
Set db = Nothing
Set ctl = Nothing
Aug 10 '07 #2
PW
On Thu, 09 Aug 2007 19:56:16 -0700, Tom van Stiphout
<no*************@cox.netwrote:
>On Thu, 09 Aug 2007 16:33:47 -0600, PW
<pa**********************@removehotmail.comwrot e:

The disk that the "TEMP" environment variable points to.
Start Run cmd.exe SET
or Control Panel System Advanced Environment Variables.

-Tom.
Thanks Tom for the heads up! I am not sure if they have Access on
their system though.

-paulw
>
>>Hi,

One of our clients is getting that error when they are trying to save
a record but I can not duplicate it here. The data is on another PC
and is linked to two workstations.

The code (listed below) is just saving interests selected from a
multi-list list box.

I've never seen that error message before. Any ideas? What does it
mean by "temporary disk"?

-paulw

*----

Set db = CurrentDb
Set rs = db.OpenRecordset("tblClientInterests")
Set ctl = Me.[lstSelected]

' First delete any records that might exist for the client:

db.Execute "DELETE * FROM " _
& "[tblClientInterests] WHERE ClientID = " &
Forms![frmClientEntry]![ClientID] & ";"

' Write the selections to the table:

For i = 0 To ctl.ListCount - 1
varItem = ctl.ItemData(i)
rs.addnew
rs![interest] = varItem
rs![ClientID] = Forms![frmClientEntry]![ClientID]
rs.Update
Next

rs.Close
Set rs = Nothing
Set db = Nothing
Set ctl = Nothing
Aug 11 '07 #3
PW
On Thu, 09 Aug 2007 19:56:16 -0700, Tom van Stiphout
<no*************@cox.netwrote:
>On Thu, 09 Aug 2007 16:33:47 -0600, PW
<pa**********************@removehotmail.comwrot e:

The disk that the "TEMP" environment variable points to.
Start Run cmd.exe SET
or Control Panel System Advanced Environment Variables.

-Tom.

LOL! Nevermind! It's not an Access thing. A wee bit tired tonight
<BG>. Do you know what Access uses that folder for?

-paulw
>>Hi,

One of our clients is getting that error when they are trying to save
a record but I can not duplicate it here. The data is on another PC
and is linked to two workstations.

The code (listed below) is just saving interests selected from a
multi-list list box.

I've never seen that error message before. Any ideas? What does it
mean by "temporary disk"?

-paulw

*----

Set db = CurrentDb
Set rs = db.OpenRecordset("tblClientInterests")
Set ctl = Me.[lstSelected]

' First delete any records that might exist for the client:

db.Execute "DELETE * FROM " _
& "[tblClientInterests] WHERE ClientID = " &
Forms![frmClientEntry]![ClientID] & ";"

' Write the selections to the table:

For i = 0 To ctl.ListCount - 1
varItem = ctl.ItemData(i)
rs.addnew
rs![interest] = varItem
rs![ClientID] = Forms![frmClientEntry]![ClientID]
rs.Update
Next

rs.Close
Set rs = Nothing
Set db = Nothing
Set ctl = Nothing
Aug 11 '07 #4

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

Similar topics

1
5437
by: Kamal | last post by:
I am trying to send mail through smtp. smtp service is running on my machine. But every time during the smtpmail.send(msg) call gives "Could not access 'CDO.Message' object." error. Could some...
1
2688
by: Jens Øster | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
3
9242
by: Jens | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
4
3959
by: Liz Patton | last post by:
Here's the exception: System.Exception: Unable to send mail: Could not access 'CDO.Message' object. ---> System.Web.HttpException: Could not access 'CDO.Message' object. --->...
1
5656
by: Phil W | last post by:
I have a server which hosts a fair amount of websites, and over the last couple of weeks I have been getting the error "Not enough space on temporary disk" on ASP.Net pages. The error doesn't...
2
2395
by: chuckdfoster | last post by:
I am getting a "Could Not Access CDO.Message Object" Error when I try to use the following code to send an email via ASP.NET. When I run this on one machine it works, on another one it doesn't. ...
5
15104
by: lds | last post by:
I am getting the following error: The "SendUsing" configuration value is invalid. Description: An unhandled exception occurred during the execution of the current web request. Please review the...
1
2429
by: Jason | last post by:
I am trying to send mail via SMTP, using VB.NET on XP. I keep getting this error: "Could not access 'CDO.Message' object." (I can send mail fine via VB6, using CDONTS.) I have added a reference...
2
16046
by: Jas Shultz | last post by:
I'm using Win2K3 Enterprise edition with the latest .NET framework installed. I have this problem with getting "out of disk space" errors. I have 35 Gigs of disk space free. It doesn't happen...
0
7227
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
7127
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
7331
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,...
0
7391
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...
1
7054
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...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3204
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...

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.