Re: Make-Table Qry in backend database
- From: "JaRa" <JaRa@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 13 Apr 2005 11:29:01 -0700
I agree,
and if you have a lot of temp tables then it's best to create a temp.mdb
which you can copy in a temporary folder.
When this is done you check whether the attachments are still valid if not
you need to refresh them.
Creating the tempfile might take a long time therefor the above procedure.
- Raoul
"Douglas J. Steele" wrote:
> Better might be to put the table in a temporary throw-away database. Then
> you don't have to worry about the backend needing compacting because you're
> creating and deleting tables in it.
>
> Tony Toews has sample code at http://www.granite.ab.ca/access/temptables.htm
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
>
> "Bob Bonta" <bob.bonta@xxxxxxxxxxx> wrote in message
> news:110f01c54024$c8de9d80$a501280a@xxxxxxxxxx
> > Thank you - but it MUST be a make-table query. The
> > structure changes from one query to the next and when all
> > is performed in one database (the current database), I
> > reach the max size for Access (2GB). With the temp
> > backend, writing & deleting temp tables in that backend, I
> > have an option to compact, if necessary, but each time I
> > iterate through the loop I delete the database and
> > recreate it - thus the backend never grows to the 2GB masx.
> >
> > v/r
> >
> > Bob
> >>-----Original Message-----
> >>JaRa's idea will work, but that will assume the mdb file
> > is in the correct
> >>place. I might suggest a different approach.
> >>Create the table with the layout you need in the backend.
> >>Link to the table in the frontend.
> >>Instead of a make table query, delete all the records in
> > the table, then use
> >>an append table to load the new data.
> >>
> >>"Bob Bonta" wrote:
> >>
> >>> In the given query statement:
> >>>
> >>> Select ... From ... Into tblTemp Where ...
> >>>
> >>> can tblTemp be created in a backend database rather
> > than
> >>> the frontend database in which the query is actually
> > being
> >>> processed?
> >>>
> >>> Any thoughts or recommendations would be appreciated.
> >>>
> >>> RSBonta
> >>>
> >>.
> >>
>
>
>
.
- References:
- Make-Table Qry in backend database
- From: Bob Bonta
- RE: Make-Table Qry in backend database
- From: Klatuu
- RE: Make-Table Qry in backend database
- From: Bob Bonta
- Re: Make-Table Qry in backend database
- From: Douglas J. Steele
- Make-Table Qry in backend database
- Prev by Date: Re: Excel Remains Open until Access is Closed...
- Next by Date: RE: Import Access table using Code
- Previous by thread: Re: Make-Table Qry in backend database
- Next by thread: Change Folder Permissions in Code
- Index(es):
Relevant Pages
|