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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

select into overwrite table



 
 
Thread Tools Display Modes
  #1  
Old December 18th, 2008, 03:18 PM posted to microsoft.public.access.gettingstarted
mcnewsxp[_2_]
external usenet poster
 
Posts: 7
Default select into overwrite table

how can i automatically overwrite an exisitng table when i execute a select
into make table sql statement?

tia,
mcnewsxp


  #2  
Old December 18th, 2008, 03:48 PM posted to microsoft.public.access.gettingstarted
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default select into overwrite table

The simplest method would be to include a delete table in the same execution.


--
Wayne
Manchester, England.



"mcnewsxp" wrote:

how can i automatically overwrite an exisitng table when i execute a select
into make table sql statement?

tia,
mcnewsxp



  #3  
Old December 18th, 2008, 03:58 PM posted to microsoft.public.access.gettingstarted
mcnewsxp[_2_]
external usenet poster
 
Posts: 7
Default select into overwrite table


"Wayne-I-M" wrote in message
...
The simplest method would be to include a delete table in the same
execution.


yeah, that's what i ended up doing. thought there might be a way to do it
in one command.




"mcnewsxp" wrote:

how can i automatically overwrite an exisitng table when i execute a
select
into make table sql statement?

tia,
mcnewsxp





  #4  
Old December 18th, 2008, 07:49 PM posted to microsoft.public.access.gettingstarted
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default select into overwrite table

If t were me I may be tempted to keep a copy of the old table - just in case

Use DoCmd.CopyObject to rename the table
table1 = rename to table1/date
then use sql make table

or you could just delete the old table right away, maybe its just me I
think. Paranoid about loseing stuff and letting users delete tables without
me looking at the results 1st

:-)


--
Wayne
Manchester, England.



"mcnewsxp" wrote:


"Wayne-I-M" wrote in message
...
The simplest method would be to include a delete table in the same
execution.


yeah, that's what i ended up doing. thought there might be a way to do it
in one command.




"mcnewsxp" wrote:

how can i automatically overwrite an exisitng table when i execute a
select
into make table sql statement?

tia,
mcnewsxp






 




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 05:15 AM.


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