Is it possible to make a code that performs the same actions as copy and paste ? I want if possible to have a code that copies all records from the table
table2 and pastes them into the identical table2 ?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
copy and paste by code ? (Access 2000)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » copy and paste by code ? (Access 2000)
- This topic has 3 replies, 3 voices, and was last updated 22 years, 3 months ago.
AuthorTopicViewing 0 reply threadsAuthorReplies-
WSjohnhutchison
AskWoody Lounger -
WSaral
AskWoody LoungerFebruary 5, 2003 at 5:51 am #650684Thank you for your reply.Both tables are in the same database.The table1 is corrupted,but it is a part of a relationship, and i cannot make the relationship with tables filled with data. I am trying to evade this problem,and i am sending this code
in another town,so the best way will be if i append all the data from the table2 into the blank table2. Can you help me writing the code ?regards
-
WSHansV
AskWoody LoungerFebruary 5, 2003 at 6:40 am #650702You can’t have two tables named Table2 in the same database.
If Table1 is corrupt, but Table2 isn’t, why do you want to copy records from Table2 into an empty table? It doesn’t make sense to me. However, as John mentioned, you wouldn’t need code for that; an append query would do what you want. If your blank table is named BlankCopyOf Table2, the SQL for the query would be
INSERT INTO BlankCopyOfTable2 SELECT * FROM Table2
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Where’s the cache today?
by
Up2you2
13 hours, 9 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
5 hours, 55 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
7 hours, 40 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
13 hours, 51 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 6 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 6 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 8 hours ago -
MS Passkey
by
pmruzicka
9 hours, 56 minutes ago -
Can’t make Opera my default browser
by
bmeacham
1 day, 15 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 2 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 14 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 10 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days, 19 hours ago -
AI slop
by
Susan Bradley
13 hours, 11 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 20 hours ago -
Two blank icons
by
CR2
4 hours, 43 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
6 hours, 41 minutes ago -
End of 10
by
Alex5723
3 days, 8 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 6 hours ago -
test post
by
gtd12345
3 days, 14 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 4 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 6 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 days, 18 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 6 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
2 days, 9 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
4 days, 10 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 21 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
4 days, 12 hours ago -
Are manuals extinct?
by
Susan Bradley
1 day, 12 hours ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
4 days, 21 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.