Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Copied Large Amounts of Data Onto the Clipboard
Andrew Clark 
      
2 days ago
Hi- I'm using an append query to move 37 fields from a temporary table to a permanent record. During testing and validation of the underlying code I found that on the second run of the append query I get the following message: "You copied a large amount of data onto the Clipboard"
I have tried to use the following to no avail:
Public Declare PtrSafe Function OpenClipboard Lib "user32" (ByVal hWnd As LongPtr) As Long
Public Declare PtrSafe Function EmptyClipboard Lib "user32" () As Long
Public Declare PtrSafe Function CloseClipboard Lib "user32" () As Long

Public Function ClearSystemClipboard() As Boolean
    On Error GoTo ErrorHandler
        Call CloseClipboard
        ClearSystemClipboard = True
Exit Function

Maybe I'm being dense but I can't seem to get it to work. Any help would be appreciated in clearing the clipboard or suppressing the message without resorting to manually going into settings
Andrew Clark OP  @Reply  
      
2 days ago
Sorry if I wasted anyone's time by jumping the gun.
The issue was occurring in coding prior to activation of the append query and involved the fade in/fade out of a form which contained a subform where the data had been transferred to. By changing where the subform sourceobject was allocated to an earlier point in the VBA, the problem was resolved. Still don't know why it happened there you go.
Thanks again
Raymond Spornhauer  @Reply  
          
23 hours ago
I believe that's a Windows message letting you know it's copied data to the Clipboard, NOT Access.  

I'm not sure why this is an issue.

-Raymond
Richard Rost  @Reply  
           
21 hours ago
Glad you tracked it down, Andrew. That Clipboard warning is usually Windows reacting to something being copied or rendered during a form/subform refresh, not the append query itself.

Moving the SourceObject assignment earlier probably prevented Access from rebuilding or repainting the subform at the moment the data was being transferred. Those timing-related form issues can be strange, but you found the important part: isolate the actual line causing it and adjust the sequence.

And Raymond is right - that message comes from Windows, not Access.
Andrew Clark OP  @Reply  
      
2 hours ago
Thanks guys.
I was testing and validating how the data was being transferred and presented. I kept repeating the process with the same data. That's when the clipboard message occurred.
The final product after completion of testing has the deletion of data from its original source after the append query is run ready for the user to input a new batch of data. That deletion process, plus the moving of the source object allocation cured the problem. Thanks again.
Add a Reply Upload an Image
Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 8/4/2026 5:13:10 PM. PLT: 1s