I'm thinking of two possible ways to break up the
table into chunks. I take that back, the second way wouldn't work because
you can't delete the Top n records. Here's the first way:
1. Add a column and programatically fill it
with sequential numbers
**********************
Dim rst, i
Set rst = CurrentDb.OpenRecordset("Select newcolumn
>From tablename")
i = 1
While Not rst.EOF
rst.Edit
rst!newcolumn = i
rst.Update
i = i + 1
Wend
**********************
Then you can export to Excel
certain ranges of the table. For instance, for the first chunk: "Where
newcolumn > 0 and newcolumn <= 65000"
Delete the newcolumn when you
are done exporting.
If you only need to do this once, some of the steps
can be done manually. If you want the whole thing to be automatic, you've
got some work ahead of you. I haven't tinkered enough with exporting to
Excel to know how to automatically create spreadsheets.
HTH,
Toby
Please zip all files prior to uploading to Files section.
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- RE: [AccessDevelopers] Need Help Creating MS Access Datab... Tom Oakes
- [AccessDevelopers] Re: Need Help Creating MS Access ... peaches1979_2001
- RE: [AccessDevelopers] Re: Need Help Creating MS... Carl Beck
- RE: [AccessDevelopers] Re: Need Help Creating MS... Tom Oakes
- [AccessDevelopers] Re: Need Help Creating MS... peaches1979_2001
- RE: [AccessDevelopers] Re: Need Help Cre... Tom Oakes
- [AccessDevelopers] Re: Need Help Cr... peaches1979_2001
- [AccessDevelopers] Exporting to... Manuel Tejada
- RE: [AccessDevelopers] Exportin... Tom Oakes
- RE: [AccessDevelopers] Exportin... Manuel Tejada
- Re: [AccessDevelopers] Exportin... Toby Bierly
- [AccessDevelopers] Re: Need Hel... peaches1979_2001
- RE: [AccessDevelopers] Re: Need... Tom Oakes