Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / December 2005

Tip: Looking for answers? Try searching our database.

recordset.MoveLast - "not enough space on temporary device"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
marco.loskamp@gmail.com - 16 Dec 2005 11:15 GMT
Hallo,

Kurzversion: erstellt Access eine volle Kopie der Tabelle, wenn mit
Currentdb.OpenRecordset("Tabelle") eine Tabelle zum Direktzugriff
geöffnet wird?

Hintergrund: Tabelle 1.25GB, minimaler Code (s.u.) führt zur
Fehlermeldung.

Was ich eigentlich nur brauche: Zugriff datensatzweise. Dafür müsste
rein technisch doch ein minimaler Speicher ungefähr in Größe des
einzelnen Datensatzes ausreichen. Meinetwegen auch 1MB als Puffer.

Läßt sich das irgendwie in Access mit VBA realisieren?

Herzlichen Dank im Voraus!

Marco Loskamp

Hier also der Problemcode:
**********************************************************************************************
Sub myUnterProgramm()
   Dim base As DAO.Database
   Dim record As DAO.Recordset
   Set base = Application.CurrentDb
   Set record = base.OpenRecordset("Tabelle", dbReadOnly)
   record.MoveFirst

   ' ******** Problem-Kandidat: *********
   record.MoveLast
   ' ****************************************

   record.Close
   Set record = Nothing
   Set base = Nothing
End Sub
********************************************************************************************
Steve - 16 Dec 2005 14:35 GMT
I have no idea what you said up there in German or Dutch, but from the
subject line I surmise that you may be running out of memory. You might
want to check how much RAM is available on your machine. If the table
you're opening has a lot of data in it, it's going to take more memory
to open.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.